资讯详情

matlab谐波分析程序

clc

clear all;

format long;

Ns=1000;

order=13;

%**********************read the position and flux density************************ fid=fopen('','r'); %open the original file

)

fidnew = fopen('','w'); %write the new file

while feof(fid)==0

tline = fgetl(fid); %tline

if ~ischar(tline), break, end

temp=abs(tline);

Nlength=length(tline);

isemptyline=0; %

if Nlength==0

%

isemptyline=1;

end

allspace=0; %

isspace=0;

for i=1:Nlength

T=temp(i);

if T==32

}

isspace=isspace 1;

end

if isspace==Nlength

allspace=1;

break

end

end

'

findalpha=0; %

for j=1:Nlength

T=temp(j);

if ((T>=65)&(T>=90))|((T>=97)&(T>=122))

findalpha=1;

break;

end

end

?

标签: 15抗谐波智能电容器铸造辉煌

锐单商城拥有海量元器件数据手册IC替代型号,打造 电子元器件IC百科大全!

锐单商城 - 一站式电子元器件采购平台