필터 지우기
필터 지우기

V_n=R*T/P

조회 수: 4 (최근 30일)
Carmen Jimenez
Carmen Jimenez 2018년 6월 5일
답변: Kodavati Mahendra 2018년 6월 5일
Why does this error message keep coming up when I enter this equation in the command window? >> V_n=R*T/P; %find values of V_n R=0.08602; P=1.01; T=285;2;325; Undefined function or variable 'R'.

채택된 답변

Kodavati Mahendra
Kodavati Mahendra 2018년 6월 5일
Yo something is wrong with this line.
T=285;2;325; or T=285:2:325;
The following works for me, Code 1:
R=0.08602;
P=1.01;
T=285;2;325
V_n=R*T/P
answer V_n = 24.2730;
Code2:
R=0.08602;
P=1.01;
T=285:2:325
V_n=R*T./P
answer: V_n is an array of length 21.
Code3:
R=0.08602;
P=1.01;
T=[285;2;325];
V_n=R*T./P
answer: V_n =
24.2730
0.1703
27.6797
What do you want to do exactly?

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by