Info
此问题已关闭。 请重新打开它进行编辑或回答。
fit and function
1 次查看(过去 30 天)
显示 更早的评论
hi i am a totally new commer . i have a problem to define a function , in principle i guess i did it wrong or there are parts missing would you give a tip how can i write and define a function, at the end i have to define a fit function. best regards clear; Rd=load('LCLS_a-C_sh18_T00202_ex_A1.txt') plot(Rd); hold on; [m,n]=size(Rd); function [y] =uigetfile(Rd) for i=1:m x=1360; w=180; y=(1/2*pi)*(w(i)^2)/(x-x(i))^2+w(i)^2 end end
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!