⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 invprony.m

📁 这是一个 York大学开发的FDTD代码。很好用的工具
💻 M
字号:
function fp=invprony(C,Sp,Ts,Nts,Nte)
% fp=invprony(C,Sp,Ts,Nts,Nte)
% Determine the representation of a time response from the poles discovered 
% the method of prony which respresents the time series
% as a set of exponential basis functions such that:
%    f(N*Ts)=C0*exp(Sp0*N*Ts) + C1*exp(Sp1*N*Ts) + ... + CNp-1*exp(SpNp-1*N*Ts) 
%  J. F. Dawson 27 Oct 1999

Np=size(C,1)

mu=[exp((Nts-1)*Sp.*Ts).'];
for cnt=Nts:Nte-1
    mu=[mu;exp(cnt*Sp.*Ts).'];
end
fp=mu*C;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -