Nice Problem.
good
function c = hypotenuse(a,b)
c = sqrt(a^2+b^2)
end
I love this!
Noice
simply use pythagoraen theorem
hypot(A,B)
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!!
Get the elements of diagonal and antidiagonal for any m-by-n matrix
267 Solvers
Simple equation: Annual salary
3779 Solvers
358 Solvers
286 Solvers
Find the Oldest Person in a Room
5093 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!