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

 採用された回答

James Tursa
James Tursa 2017 年 12 月 11 日

0 投票

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

1 件のコメント

Aykut Batinli
Aykut Batinli 2017 年 12 月 11 日
thank you so much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeVehicle Dynamics Blockset についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by