Azzera filtri
Azzera filtri

Info

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

please help, want to set the data out from 3 nested for loop in a different row in a uitable, can any one help me in this ?

1 visualizzazione (ultimi 30 giorni)
if true
for i1=1:11
if rrr==1
Kr(i1)=1
else
kr(i1)=2
end
for j1=1:18
for k1=1:24
PPRL(i1,j1,k1)=Wrf(i1)+(F11(i1,j1,k1).*S(i1,j1).*Kr(i1));
PRHP(i1,j1,k1)=(2.53*10^-6).*F33(i1,j1,k1).*N(i1,j1,k1).*Kr(i1).*(S(i1,j1).^2);
CBE(i1)=1.06.*(Wrf(i1)+0.5.*Fo(i1));
PT(i1,j1,k1)=(TT(i1,j1,k1).*Kr(i1).*((S(i1,j1).^2)./2)).*(1+((W(i1,j1)-0.3).*(Ta(i1,j1,k1)/10)));
if PPRL(i1,j1,k1)>SC
break
elseif PT(i1,j1,k1)>RR
break
end
set(handles.table,'Data',[{d(i1)},{S(i1,j1)},{N(i1,j1,k1)},{L1(i1)},{L2(i1)},{L3(i1)},{L4(i1)},{PPRL(i1,j1,k1)},{PT(i1,j1,k1)},{PRHP(i1,j1,k1)},{PD(i1,j1,k1)}]);
end
end
end
%this is the final condition which i want it out, how i can do this ?
  1 Commento
Image Analyst
Image Analyst il 8 Feb 2013
What does "set the data out" mean? I have no idea. All I know is that you calculated a bunch of data and stuffed it into a table. Your question is not clear to us and likely won't get answered without additional explanation from you. Particularly since no one can run your code because it depends on a bunch of arrays that you didn't supply sample data for.

Risposte (0)

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by