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);

 Réponse acceptée

James Tursa
James Tursa le 11 Déc 2017

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur Vehicle Dynamics Blockset dans Centre d'aide 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