Answers for "matlab lambda symbol"

0

matlab lambda function

y = @(x) <your-function>
and you can call it like that:
variable = y(3)

for example:
y = @(x) 4*x.^2 + 2*x + 1;
var = y(0)
%var = 1
Posted by: Guest on October-20-2021

Browse Popular Code Answers by Language