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;

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Vehicle Dynamics Blockset에 대해 자세히 알아보기

태그

질문:

2017년 12월 11일

댓글:

2017년 12월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by