Community Profile # Sophia

##### Last seen: 3 months ago
64 total contributions since 2014

#### Sophia's Badges

View details...

Contributions in
View by

Question

Plotting the trend line without plotting the data
I am trying to plot the trend line for three year data combined, So basically trend line on top the attached scatter plot. % st...

4 months ago | 2 answers | 0

### 2

answers

Question

Error setting property 'MarkerFaceAlpha' of class 'Scatter': Value is NaN, or out of range 0.0 <= value <= 1.0
per_all = per_2006_2017/100;% to bring the values in the range of 0 to 1 for i = 1:size(xgrid2,1) for j = 1:size(xgrid2...

1 year ago | 0 answers | 0

### 0

answers

Question

How to add a line after every seventh Value!
I am looking for a way to add a line after seventh point to show the breaking point time intervals. The matrix has 2544 values a...

1 year ago | 1 answer | 0

### 1

answer

Question

Correlation between two matrices
I have two matrices A and B both with same siez, i.e. 119*173. What is the best way to find the correlation between those two? ...

1 year ago | 1 answer | 0

### 1

answer

Question

For loop with if statement!
Here is the samplf of what i am trying to do- clear all; clc; s = [1 2 3; 4 0.5 1; 1.3 2 1; 1.5 1.6 2.8] a(1,:,:) =...

1 year ago | 1 answer | 0

### 1

answer

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; ...

2 years ago | 1 answer | 0

### 1

answer

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(...

2 years ago | 1 answer | 0

### 1

answer

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...

3 years ago | 1 answer | 0

### 1

answer

Answered
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...

3 years 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 ...

3 years ago | 2 answers | 0

### 2

answers

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...

3 years ago | 1 answer | 0

### 1

answer

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]; ...

3 years ago | 0 answers | 0

### 0

answers

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...

3 years ago | 2 answers | 0

### 2

answers

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,...

4 years ago | 0 answers | 0

### 0

answers

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...

4 years ago | 3 answers | 0

### 3

answers

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

4 years ago | 0

Answered
Using map2mat for eof analysis!
** the total is 99.9% ** <</matlabcentral/answers/uploaded_files/77993/eof_n2.png>> clear all; clc; data= load...

4 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 ...

4 years ago | 3 answers | 0

### 3

answers

Question

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

4 years ago | 0 answers | 0

### 0

answers

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...

4 years ago | 2 answers | 0

### 2

answers

Question

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

4 years ago | 0 answers | 0

### 0

answers

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...

4 years ago | 3 answers | 0

### 3

answers

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 significant...

4 years ago | 2 answers | 0

### 2

answers

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...

4 years ago | 1 answer | 0

### 1

answer

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...

4 years ago | 2 answers | 0

### 2

answers

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...

4 years ago | 0 answers | 0

### 0

answers

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...

4 years ago | 1 answer | 0

### 1

answer

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...

4 years ago | 1 answer | 0

### 1

answer

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?...

4 years ago | 1 answer | 0

### 1

answer

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...

4 years ago | 1 answer | 0

answer

Load more