Why does this plot not work? Thank's for every help!

3 visualizaciones (últimos 30 días)
Fabian Rüeger
Fabian Rüeger el 23 de Dic. de 2016
Respondida: Roger Stafford el 24 de Dic. de 2016
x = linspace(0.5,8.7,870)
syms y;
solve(4000 == (y/6.5)*(8.7-x),y)
plot(x,y)

Respuestas (1)

Roger Stafford
Roger Stafford el 24 de Dic. de 2016
It would be better to first solve the equation for y symbolically and then produce a vector of y values:
x = linspace(0.5,8.7,870);
y = 6.5*4000./((8.7-x); % <-- The symbolic solution
plot(x,y)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by