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!!
332 Solvers
Number of 1s in a binary string
3000 Solvers
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
530 Solvers
340 Solvers
293 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!