求一个空载气隙磁密matlab的傅里叶分解程序
感谢 {:1_538:} https://ximo.app1.magcloud.net/public/emotion/face_004.png 同样需要,帮顶!!!!!!! 楼主可否加好友一起讨论一下,扣扣,1.5.6.4.7.3.5.1.5.9 https://ximo.app1.magcloud.net/public/emotion/face_004.png maxwell里面不是可以做吗?为什么要用matlab呢? amp_har=zeros(1,order);for m=1:order
j=j+1;
fft1=fft(cogtorq,Ns);
fund_ele_front=fft1(m+1);
fund_ele_back=fft1(Ns+1-m);
amp_har(j)=(abs(fund_ele_front))/Ns*2;
fft1=0*fft1;
fft1(m+1)=fund_ele_front;
fft1(Ns+1-m)=fund_ele_back;
fft1=ifft(fft1,Ns);
fft1=real(fft1);
plot(citax,fft1);
hold on;
end
k=(1:1:order);
figure;
bar(k,amp_har);
grid on;
new=amp_har'; 本帖最后由 z1031157523 于 2021-4-7 09:08 编辑
请问你这个是matlab的代码吧?
页:
[1]