Community Profile

# Sophia

59 total contributions since 2014

View details...

Contributions in
View by

Question

Issues with the for loop
tt=0; for i = 1:size(ids_2006,2) * size od ids_2006 is 212*119*177 for j = 1:size(ids_2006,3) tt=tt+1; ...

4 days ago | 1 answer | 0

### 1

Question

For loop from 4-D to 3-D
yrlst = 2006:2017; %12 years of data; each file contains daily dataset for 7 months for i=1:length(yrlst) year0 = yrlst(...

6 months ago | 1 answer | 0

### 1

Question

Create a new matrix with the for loop
w_u = zeros(361,361,252); w_v = zeros(361,361,252); ind = 10:16; for t = 1:length(nu1) %nu1 and nv1 are 361*361*436 i...

1 year ago | 1 answer | 0

### 1

Interpolate both dataset on a same grid
I just received this e-mail. I am worried how come MATHWORKS can share my personal email with any random person. The e-mail is a...

1 year ago | 0

Question

Interpolate both dataset on a same grid
Hi, i have the two different datasets (PFA the excel file) as following Dataset A size (119*177) with each lat and long file ...

1 year ago | 2 answers | 0

### 2

Question

Interpolate for the remaining longitudes!
**How to interpolate values for the missing longitudes** (See the png file attached) ncid1 = netcdf.open('uwnd.mon.mean.n...

1 year ago | 1 answer | 0

### 1

Question

How to find the RMSE.. !
I am learning to calculate the RMSE, so i just created the simplest data that i could think of- a = [2 3 4 5 1 6 3 6 7 8]; ...

2 years ago | 0 answers | 0

### 0

Question

How to get the pixel vales along a line?
Let's say i want the pixel values along a line that connects two points lat11 = 72; lat21 = 81; long12 = -150; l...

2 years ago | 2 answers | 0

### 2

Question

Plot statistically significant values!
for i=1:361, for j=1:361, if ~isnan(anom_wint_r(i,j,:)) stats = regstats(squeeze(anom_wint_r(i,j,...

2 years ago | 0 answers | 0

### 0

Question

Correlation between two matrices with different number of rows and columns
I have two matrices of different sizes. I want to calculate the spatial correlation between the two matrices but the matrices ar...

2 years ago | 3 answers | 0

### 3

Using map2mat for eof analysis!
** the total again is 99.9% ** <</matlabcentral/answers/uploaded_files/77994/eof_n3.png>> clear all; clc; da...

2 years ago | 0

Using map2mat for eof analysis!

2 years ago | 0

Question

Using map2mat for eof analysis!
I have a matrix mm_r of the size 361*361*36; where 36 represent the number of years i need to make it of size 36*130321 ...

2 years ago | 3 answers | 0

### 3

Question

Problem using for loop
clear all;clc; % load OSI_SAF_OSI401_10km_geoloc_area.mat % path to data directory folderpath = 'C:\Users...

2 years ago | 0 answers | 0

### 0

Question

Why the EOF gives the total of 99.9
clear all; clc; data= load('north_x_y_lat_lon'); datacoord = reshape(data, 361,361,4); lat = squeeze(data...

2 years ago | 2 answers | 0

### 2

Question

Regression Analysis Confusion!
%% Regression analysis for ice drift anomalies for i=1:361, for j=1:361, if ((~isnan(anom_wint...

2 years ago | 0 answers | 0

### 0

Question

How to plot polygons
Please find attached the excel sheet that contains the long, lat and the statistically significant values in trends. I am able t...

2 years ago | 3 answers | 0

### 3

Question

Trends are statistically significant or not
*I have the p-values for each pixel in idanom_trend_per_winter(:,:), and i am checking which areas show statistically signific...

2 years ago | 2 answers | 0

### 2

Question

4-D array to 3-D array
I have a 4-D array saved in a mat file like ice_conc_monthly(:,:, year-1978, month) = d; its is 304*448*37*12, how ca...

2 years ago | 1 answer | 0

### 1

Question

How to reproject the data in Matlab?
I have two different datasets for the same region, i want to reproject one of them according to the lat/long from the other file...

2 years ago | 2 answers | 0

### 2

Question

Regression Analysis for the Anomalies!
I have the ice drift anomalies(pixel value for one particular year- Avg value) data for the 36 winters; size 361*361*36 * Lan...

2 years ago | 0 answers | 0

### 0

Question

Comparing the results from two different datasets
I am comparing the results obtained from two different datasets- However Data1 is of the size of 119*177 size corresponding to t...

3 years ago | 1 answer | 0

### 1

Question

How to change the size of the matrix?
I have a matrix of the size of 119*177 and i am comparing the results with another matrix which is of the size 361*361.. IS ther...

3 years ago | 1 answer | 0

### 1

Question

Mean for 4D
I have a .mat file. The dimensions for u and v are 9 (years) x 7 (months) x 119 x 177 How can i take the mean over each year?...

3 years ago | 1 answer | 0

### 1

Question

How to make a curved line
lat1 = 81.9; lat2 = 82; long1 = -12; long2 = 20; [I1,J1] = find(lat>=lat1 &lat<=lat2 & (long>=long1 & long<=long2...

3 years ago | 1 answer | 0

### 1

Question

Getting all pixel values along this line
I want to check how the pixel values along this line have been changing through the different time intervals. This image is show...

3 years ago | 1 answer | 0

### 1

Question

Is this the correct way to use hist and ranksum..?? Result looks okie but just want to make sure that i am not doing anything wrong in this.
for i = 1:size(an_r,3); ax1(i)= subaxis(3,6,i,'SpacingVert',0.025,'SpacingHoriz',0.02,'Padding', 0, 'Margin', 0...

3 years ago | 0 answers | 0

### 0

Question

Use m_quiver to plot the values which are numbers and not nans
%% Mean of sea ice drift over 36 winters (This code works perfectly fine) mean_wint_u = nanmean(t_u,3); %t_u is 361*361*36 ...

3 years ago | 0 answers | 0

### 0

Question

How to make the subplots look larger and use the space judiciously.
figure(1); clf; for i = 1 : 11; subplot(4,6,i) m_proj('Stereographic','lat',90,'long',300,'radius',35,...

3 years ago | 1 answer | 0

### 1

Question

How to fix this boxplot.. My data has so many values which are zero, i want to get rid of them in my analysis!