Filter löschen
Filter löschen

draw picture with ezplot

2 Ansichten (letzte 30 Tage)
xinyu
xinyu am 24 Okt. 2013
Beantwortet: sixwwwwww am 24 Okt. 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.

Antworten (1)

sixwwwwww
sixwwwwww am 24 Okt. 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!

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by