Numerical Integration
Input
* |x0|, a real number greater than 0
Output
* |I|, a numerical estimate of the integral
x0
/
I...
1년 초과 전
문제를 풀었습니다
Matrix with different incremental runs
Given a vector of positive integers
a = [ 3 2 4 ];
create the matrix where the *i* th column contains the vector *1:a(i)...
1년 초과 전
문제를 풀었습니다
Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...
1년 초과 전
문제를 풀었습니다
Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...
1년 초과 전
문제를 풀었습니다
square root
Find the square root (y) of an input (x).