M=0; N=0;
For m=0:23
For n=0:15:45
The Grid=setgrid (" Rad ", [100: when 00] * 1 e3 + 6365 e3, Lat, [43], 'says Lon, [247]).
Ne=iri (Grid, datenum (2015,3,17, m, n, 0));
[Y, Z]=Max (Ne);
End
End
In Matlab, how can Y, Z save into two matrix
CodePudding user response:
The meaning of the original poster is preserved in the results of each iteration? Code:Y=zeros (24, 4);
Z=zeros (24, 4);
M=0; N=0;
For m=0:23
For n=0:15:45
The Grid=setgrid (" Rad ", [100: when 00] * 1 e3 + 6365 e3, Lat, [43], 'says Lon, [247]).
Ne=iri (Grid, datenum (2015,3,17, m, n, 0));
[tempY, tempZ]=Max (Ne);
Y (m, n/15)=tempY;
Z (m, n/15)=tempZ;
End
end
CodePudding user response:
Thank you,,,,,,,,,,