Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

fit and function

1 visualizzazione (ultimi 30 giorni)
shafagh
shafagh il 23 Ago 2011
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (0)

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by