How to evaluate two variable function...?
Ältere Kommentare anzeigen
f=@(x1,x2) 2*x1^2+x2^2+2*x1*x2+x1-x2;
x1=0; x2=1;
X=[x1;x2];
How to evaluate function using vector X..?
f(X) is not working.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Numerical Integration and Differential Equations finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!