draw picture with ezplot

4 vues (au cours des 30 derniers jours)
xinyu
xinyu le 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.

Réponses (1)

sixwwwwww
sixwwwwww le 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!

Catégories

En savoir plus sur Particle & Nuclear Physics dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by