matlab一直出现Warning:Divide by zero.Warning:Rank deficient,rank = 0,tol = 1.#INFe+000.clear all;clc;L=0.235; %Lp/Lm=0.235x1=0:0.2:2;y1=((0.1*sqrt(2))/pi).*sqrt((1+((0.235/0.1)^2).*((1./x1).^2 ))/((( L+1-L./(x1.^2)).^2)+(0.1^2).*((x1-1./x1).^2)))

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/05 11:46:48
matlab一直出现Warning:Divide by zero.Warning:Rank deficient,rank = 0,tol = 1.#INFe+000.clear all;clc;L=0.235; %Lp/Lm=0.235x1=0:0.2:2;y1=((0.1*sqrt(2))/pi).*sqrt((1+((0.235/0.1)^2).*((1./x1).^2 ))/((( L+1-L./(x1.^2)).^2)+(0.1^2).*((x1-1./x1).^2)))
xRMK@+"d^LMV"<o64iѺCQEUHk4&.tg8sϽw瞌U]SEvtKW<ٞP˰Sc|,NVPЧ -Wt"Xt& k\O`fTLkV#i0ؒ2td#c~qB6 @ $'eN JIdA IIB ZK$/f4_5A-~Fy#I.Yt9#I/0PbޜP< .[x|*c>;'t?µӌd2 ?;_^yW9vX[fKt®c50__?p-ңFjjnW0<0!}7 >hmEVz]

matlab一直出现Warning:Divide by zero.Warning:Rank deficient,rank = 0,tol = 1.#INFe+000.clear all;clc;L=0.235; %Lp/Lm=0.235x1=0:0.2:2;y1=((0.1*sqrt(2))/pi).*sqrt((1+((0.235/0.1)^2).*((1./x1).^2 ))/((( L+1-L./(x1.^2)).^2)+(0.1^2).*((x1-1./x1).^2)))
matlab一直出现Warning:Divide by zero.Warning:Rank deficient,rank = 0,tol = 1.#INFe+000.
clear all;
clc;
L=0.235; %Lp/Lm=0.235
x1=0:0.2:2;
y1=((0.1*sqrt(2))/pi).*sqrt((1+((0.235/0.1)^2).*((1./x1).^2 ))/((( L+1-L./(x1.^2)).^2)+(0.1^2).*((x1-1./x1).^2)));
plot(x1,y1);
grid on;
波形画不出来,是空白的,一直出现matlab一直出现Warning:Divide by zero.Warning:Rank deficient,rank = 0,tol = 1.#INFe+000.警报

matlab一直出现Warning:Divide by zero.Warning:Rank deficient,rank = 0,tol = 1.#INFe+000.clear all;clc;L=0.235; %Lp/Lm=0.235x1=0:0.2:2;y1=((0.1*sqrt(2))/pi).*sqrt((1+((0.235/0.1)^2).*((1./x1).^2 ))/((( L+1-L./(x1.^2)).^2)+(0.1^2).*((x1-1./x1).^2)))
第一你的程序里有的地方少了点
第二算式中0不能作除数,因此取和0差不多的0.000001
clear;
clc;
L=0.235;
x1=0.000001:0.2:2;
y1=((0.1*sqrt(2))/pi).*sqrt((1+((0.235/0.1)^2).*((1./x1).^2 ))./((( L+1-L./(x1.^2)).^2)+(0.1^2).*((x1-1./x1).^2)));
plot(x1,y1);
grid on;