MATLAB Understanding the @ Rule in MATLAB Code with Quad Command

pmehnati
Messages
18
Reaction score
0
HI every one
what's the @ rule in the MATLAB code? especielly when we use quad command.
 
Physics news on Phys.org
The @ is a function handle. So for example when using something like
syms x
we can define a y to be a function of x

y = @(x) x^2
 

Similar threads

Back
Top