The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: problem in data griding
Replies: 3   Last Post: Aug 16, 2012 10:49 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Shaik Ghouse Basha

Posts: 26
Registered: 6/15/09
Re: problem in data griding
Posted: Aug 16, 2012 10:06 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have used Griddata command in matlab and the below code

%% rr is my data
for i=1:length(dd)
P1=find(lat1>=la(i)-eps1 & lat1<=la(i)+eps1);
Q1=find(lon1>=lo(i)-eps1 & lon1<=lo(i)+eps1);

Eda(P1,Q1)=nanmean([Eda(P1,Q1) rr(i)]);


"Justin Ashmall" wrote in message <k0itok$j5c$>...
> "Shaik Ghouse Basha" wrote in message <k0iour$7j0$>...
> > I have longitude starting from -180:0.25:180 and latitude from -90:0.25:90 and i have corresponding data matrix. Here my problem is to convert data -180:1:180 and -90:1:90 i.e bringing data from 0.25x 0.25 to 1x1 degree grid. I am using griddata program and my own program , but feature is missing.
> Why don't you show us what you've tried?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.