Average of odd values
Find the average of odd values in given a matrix.
e.g
x=[ 4 11 8 ; 9 2 7 ]
y =( 11 + 9+ 7 ) / 3
3 years 前
已解决
Replace Nan!
Replace Nan in the given vector(v) with 9999.
3 years 前
已解决
Average of even-numbered columns
Given a vector, find the average of even-numbered columns.
e.g
x = [ 4 6 8 9 1 2 7 ]
y = ( 6 + 9 + 2 ) / 3
3 years 前
已解决
Probability of red tulips
I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...
3 years 前
已解决
wait for me
wait exactly x seconds please, need not be more than 2 seconds but must be accurate within say 50 milliseconds, your function mu...
3 years 前
已解决
0<=x<=pi?
Check whether the given angle is between zero and pi.
Return logical true or false.
Multiply a column by a row
* Given a column vector C and and a row vector R.
* Output a matrix M.
* Every column of M equals to C multiplied by correspon...