Statistics
全部
Content Feed
解决了
一个简单的潮汐量表与Matlab
*∿ ∿ ∿ ∿ ∿ ∿ ∿ ∿* You are standing in a few inches of sea water on a beach. You a...
5 months ago
解决了
Circular Primes (based on Project Euler, problem 35)
The number, 197, is called a circular prime because all rotations of the digits: 197, 971, and 719, are themselves prime. The...
5 months ago
解决了
Multiples of a Number in a Given Range
Given an integer factor _f_ and a range defined by _xlow_ and _xhigh_ inclusive, return a vector of the multiples of _f_ that fa...
5 months ago
解决了
Schwarzschild radius
Compute the Schwarzschild radius for objects of mass m (kg). Use c = 299,792.458 km/s and G = 6.6738*10^-11 N*(m/kg)^2. Your fun...
7个月前
解决了
Given a window, how many subsets of a vector sum positive
给定一个向量:[1 0 -1 3 2 -3 1]和2的窗口,滑动窗口会找到:1 + 0 = 1 0-1 = -1 ...
7个月前
解决了
电视的大小是多少?
Many people buy TV. Usually they ask about diagonal. But also important are width and height. Let's assume that all TV have rati...
8 months ago
解决了
常规多边形的角度
Make a function which returns measure of interior angle in x-side regular polygon. x is as input. Please pay attention, that 1 ...
8 months ago
解决了
matlab基础知识-y作为x的函数
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2
8 months ago
解决了
Matlab Basics - Pick out parts of a vector
考虑x的长度> = 7的向量(向量中至少有7个元素,编写一个脚本提取第二个元素,a ...
8 months ago
解决了
向量乘法的总和
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...
8 months ago
解决了
MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.
8 months ago
解决了
MATLAB Basics: Complex Numbers
对于一个给定的复数,x,返回真正的和imaginary parts as a vector, y = [Real Imaginary].
8 months ago
解决了
适当的因素
Generate the proper factors of input integer x and return them in ascending order. For more information on proper factors, refer...
8 months ago
解决了
获取所有主要因素
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...
9 months ago
解决了
Alternative Scoring. Create an incremental spiral.
This problem is created to test an alternative Cody scoring system. It is based on the current one, but few changes are introduc...
9 months ago
解决了
多么独特?
Sometimes, when we check unique entries of vector we would like to know how many times each value occurs. Given vector of num...
9 months ago
解决了
How many solutions has this problem?
Guess, predict or calculate :-) (You will be scored by the accuracy). Update:
9 months ago