Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

fit and function

1 view (last 30 days)
shafagh
shafagh on 23 Aug 2011
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!