-
6 Comments
Show
3 older comments
Informaton
on 24 Apr 2017
Ah, that makes so much more sense! Thanks for explaining Brian.
Danilo Zocco
on 12 Jan 2018
Why is the following not accepted ?
add_two_numbers = @(x,y) x+y;
Solution size is also 9, but the solution is not recognized. Just wondering why, as it works in MATLAB.
Ezz El-din Abdullah
on 7 Jul 2018
@Danilo Maybe the website prevents anonymous functions.
Suggested Problems
-
Check if number exists in vector
12517 Solvers
-
Find out sum of all elements of given Matrix
512 Solvers
-
605 Solvers
-
7592 Solvers
-
calculate the length of matrix
1952 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!