matlab中This statement is incomplete.的错误
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/12 21:11:36
matlab中This statement is incomplete.的错误
clear;
clc;
R0=55;
R1=100;
R2=25;
Pa=0.1;
Pd=0.6;
Pv=0.1;
r=0:0.01:100;
if(R1>=r>=R0)
P=sqrt(Pd^2-(Pd^2-Pa^2)*log(r/R0)/log(R1/R0));
else if(R0>=r>=R2)
P=sqrt(Pd^2-(Pd^2-Pv^2)*log(r/R0)/log(R2/R0));
plot(r,P);
不知道错在哪里,请大家指导一下
clear;
clc;
R0=55;
R1=100;
R2=25;
Pa=0.1;
Pd=0.6;
Pv=0.1;
r=0:0.01:100;
if(R1>=r>=R0)
P=sqrt(Pd^2-(Pd^2-Pa^2)*log(r/R0)/log(R1/R0));
else if(R0>=r>=R2)
P=sqrt(Pd^2-(Pd^2-Pv^2)*log(r/R0)/log(R2/R0));
plot(r,P);
不知道错在哪里,请大家指导一下
clear;clc;
R0=55;
R1=100;
R2=25;
Pa=0.1;
Pd=0.6;
Pv=0.1;
for r=0:0.01:100
if(R1>=r & r>=R0)
P=sqrt(Pd^2-(Pd^2-Pa^2)*log(r/R0)/log(R1/R0));
plot(r,P)
hold on
else if(R0>=r & r>=R2)
P=sqrt(Pd^2-(Pd^2-Pv^2)*log(r/R0)/log(R2/R0));
hold on
end
end
end
R0=55;
R1=100;
R2=25;
Pa=0.1;
Pd=0.6;
Pv=0.1;
for r=0:0.01:100
if(R1>=r & r>=R0)
P=sqrt(Pd^2-(Pd^2-Pa^2)*log(r/R0)/log(R1/R0));
plot(r,P)
hold on
else if(R0>=r & r>=R2)
P=sqrt(Pd^2-(Pd^2-Pv^2)*log(r/R0)/log(R2/R0));
hold on
end
end
end
matlab程序运行出现the statement is incomplete的错误,下面是程序,请问怎样解决
matlab中function和end问题,错误提示This statement is not inside any f
matlab提示:Incomplete or misformed expression or statement.
this is statement of gearing
This form is incomplete.Please provide the necessary informa
This statement is not inside any function.
Matlab中遇到的错误,求解救
英语翻译一个客户购买了我的物品.来信如下.This is more of an statement,I purchase
matlab的mtimes错误,
请问matlab中如下错误什么意思:Error:File:toimage.m Line:59 Column:1 This
MATLAB的CUI设计中出现的错误是什么意思
第二题来了,求秒答Ⅲ、Fill in each blank of the 10 incomplete statement