Where is the number that you want to find?
For a given matrix A, find where the input number x appears.
Do this task by returning the vector which contains the row and th...
6ヶ月 前
解決済み
determine if
determine if the elements of a matrix is a nan and return true
6ヶ月 前
解決済み
Sum the rows
Sum the rows of the given matrix.
Example
x = [ 1 2
3 4 ]
y = [ 3
7 ]
Solve t^(a*x^2+b*x+c)=s
Solve t^(a*x^2+b*x+c)=s. Return x vector as result.
Example a=1, b=2, c=1, t=3, s=15. Result x(1)= 0.5700 x(2)=-2.5700
H...
6ヶ月 前
解決済み
Distances in a circle
A circle (360°) is given and
a row of 6 monotonic increasing numbers with the which difference from last to first value is les...
6ヶ月 前
解決済み
Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones.
* Find 1 0 1 and replace it with 1 1 1
* Find 0 1 0 and replace it w...
6ヶ月 前
解決済み
Tent matrix
Create an n x n matrix that resembles one kind of tent. The variable n is provided to the function and will be an odd number. As...