2009年12月30日 星期三

http://www.mathworks.com/matlabcentral/fileexchange/18160-evaluate-nelson-siegel-function
File Information

Description Functions NELSONFUN and NELSONFIT evaluate and fit (with non-linear least-squares) the Nelson-Siegel function, a popular yield-curve approximation device.



MATLAB release MATLAB 7.2 (R2006a)

Zip File Content

Other Files nelson/nelsonfit.m,

nelson/nelsonfun.m,

nelson/nelsondemo.m

extend done

2009年12月4日 星期五

matlab_讀檔_開檔

讀路徑


設定路徑

path_name='D:';

allname=dir(path_name);



讀取檔案名

allname(1).name



開檔

for i=1:size(a,1)

open(strcat(path_name, a(:).name))

end

2009年11月21日 星期六

放程式碼的網誌

放程式碼的網誌