my problem is about @.
Ältere Kommentare anzeigen
syms x
f=@x x.^2
quad(f,0,2)
System give error that 'Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.'
.....................................................................................................................................................................................................................................
PLEASE HELP ME
2 Kommentare
Stephen23
am 3 Feb. 2022
Note that syms does nothing here. Get rid of it.
Sevval Zengin
am 3 Feb. 2022
Akzeptierte Antwort
Weitere Antworten (1)
try it:
syms x
f=@(x) x.^2
quad(f,0,2)
2 Kommentare
Stephen23
am 3 Feb. 2022
Note that syms does nothing here.
Sevval Zengin
am 3 Feb. 2022
Kategorien
Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!