?? prony2.m
字號:
clear all
prony1
jie=ans(1:2);
for i=1:1001
for j=1:2
r(i,j)=jie(j)^(i-1);
end
end
A=pinv(r)*x';
ampli=abs(A(1))*2
phase=atan(imag(A(1))/real(A(1)))+pi/2
pp=-log(abs(jie(1)))/(2*pi*0.001);
qq=atan(imag(jie(1))/real(jie(1)))/(2*pi*0.001);
frequency=sqrt(pp^2+qq^2)
dampratio=sqrt(1-(qq/frequency)^2)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -