Use of @ in matlab code
Show older comments
What is the use of @ in given equation :
sqr=@(n) n.^2;
x=sqr(9)
Answers (1)
@ does not have any value...it is a way to reperesent anonymous functions. Read about anonymous functions in matlab.
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!