Azzera filtri
Azzera filtri

Info

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

can sb tell me why it doesnt work?

3 visualizzazioni (ultimi 30 giorni)
shafagh
shafagh il 23 Ago 2011
Chiuso: MATLAB Answer Bot il 20 Ago 2021
clear; Rd=load('LCLS_a-C_sh18_T00202_ex_A1.txt') plot(Rd); hold on; c=0;w=(100:10:200); [m,n]=size(Rd); x=Rd(:,1) y=Rd(:,2)
div=0.05 w=35 for x=200:600 for i=1:6 %number of iterations
r=(1/2*pi)*(w.^2)/(x-x(i)).^2+w.^2 for i=1 plot(r) end if i>1 dif=r(i)-r(i-1)
plot(r) if dif > 0 w=w+dif end end end end

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by