Anonymous function: creation
Show older comments
I am trying to create an anonymous function with f=@(x) sin(alpha*x). The error msg that I am getting is a 'bar' under @ and then '"identifier" expected, "(" found.' Even copy/pasting the command from MATLAB's website does not help. what went wrong here? I am using MATLAB R12 version.
Accepted Answer
More Answers (0)
Categories
Find more on Structures 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!