draw picture with ezplot

4 views (last 30 days)
xinyu
xinyu on 24 Oct 2013
Answered: sixwwwwww on 24 Oct 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.

Answers (1)

sixwwwwww
sixwwwwww on 24 Oct 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!

Categories

Find more on Particle & Nuclear Physics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!