What is the problem with this code snippet?
Show older comments
function phi1= @(y) 2*(y-0.5)*(y-1)
It says 'Invalid use of operator' on run.
Accepted Answer
More Answers (0)
Categories
Find more on Function Handles 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!