Azzera filtri
Azzera filtri

draw picture with ezplot

2 visualizzazioni (ultimi 30 giorni)
xinyu
xinyu il 24 Ott 2013
Risposto: sixwwwwww il 24 Ott 2013
Can I draw pictures with more than two variables with ezplot where only two variables are not constant. For example:
syms beta omega lambda Lambda rho
%rho=Lambda*omega+beta
only rho and beta are not not constant.

Risposte (1)

sixwwwwww
sixwwwwww il 24 Ott 2013
Dear xinyu, yes you can plot as follows:
syms beta omega Lambda rho
rho = Lambda * omega + beta;
rho2 = subs(rho, [Lambda, omega], [2, 3]); % substitute values for Lambda and omega because they are constants
ezplot(rho2)
I hope it helps. Good luck!

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by