Hi. I'm working on Combined Cycle as project. My problem is; I need to get v as a vector to plot but it is showing only one value as a result. Can you help me? Here are my codes :
Px1 = linspace(P5,P6,100);
Tx1 = linspace(T5,T6,100);
vx1 = (0.287*Tx1)/Px1;
plot(vx1,Px1);

 Respuesta aceptada

James Tursa
James Tursa el 11 de Dic. de 2017

0 votos

Use element-wise divide operator with the "dot", ./
vx1 = (0.287*Tx1)./Px1;

Más respuestas (0)

Categorías

Más información sobre Vehicle Dynamics Blockset en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 11 de Dic. de 2017

Comentada:

el 11 de Dic. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by