Nice Problem.
good
function c = hypotenuse(a,b)
c = sqrt(a^2+b^2)
end
I love this!
Noice
simply use pythagoraen theorem
Very easy :p Needed the confidence booster lmao
Just follow the Pythagoras theorem.
: )
Good starting challenging
:)
nice
Well, this was a bit embarrasing...
regexp
I forget allways this function!!
Compute a dot product of two vectors x and y
756 Solvers
978 Solvers
Reverse the elements of an array
694 Solvers
326 Solvers
Check that number is whole number
1117 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!