Borrar filtros
Borrar filtros

draw picture with ezplot

2 visualizaciones (últimos 30 días)
xinyu
xinyu el 24 de Oct. de 2013
Respondida: sixwwwwww el 24 de Oct. de 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.

Respuestas (1)

sixwwwwww
sixwwwwww el 24 de Oct. de 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!

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by