Question

Problem with subplot size and annotation of each plot

Hey all, I read the documentation very carefully and make this subplot, however, you can see it is very messed up. I have annot...

3 hours ago | 1 answer | 0

Question

How to modify this code for calculation seasonal values for each year (not all years)

I have a 1x3 cell contains three 360x3 tables. For every table, I want to calculate the average of rrr24 for each season and wri...

2 days ago | 1 answer | 0

Question

Sort and export data from 2 cells

Hey all, I have 2 cells (A and B). Each one contains three 1x2 tables. In each table, I have a month number column and precipi...

2 days ago | 1 answer | 0

Question

Error in using rmoutliers()

Dear All, I was read rmoutliers documentation carefully and want to use it in order to remove outliers' values in a matrix (na...

3 days ago | 2 answers | 0

Question

I want to add a 45-degree line on my plot. I tried some ways (including refline) all give me a 38-degree line!

Hey all I wanted to have a 45-degree reference line on my plot. I searched and found there is a function namely refline so I us...

3 days ago | 2 answers | 0

Question

Why my for loop does not work correctly?

Hey all, I had this code below: for i = 1:numel(Class1_mon_avg_synop) %size of Class1_mon_avg_synop is 1 x 12 cell ave(i...

4 days ago | 1 answer | 0

Question

How to use bar function?

Hey all, I have X= 6 and Y= 14. I want to have a plot like this: (x is blue and y is green) I tried so many ways, All unsucc...

4 days ago | 1 answer | 0

Question

I want the points that located in a certain polygon

Hey, I have 92 points. Each point has latitude and longitude. On the other hand, I have a shape file consist of six different p...

5 days ago | 1 answer | 0

Question

Please help me to correct my for-loop

Hey all, I have a 1x3 cell with three 360x3 table. Each table has a column date with 30 years of the monthly data (30x12 = 360)....

5 days ago | 1 answer | 0

Question

I want annual data from monthly data (sum of every 12 months)

Hey all, I have a 1 x3 cell which contains 3 tables (360x3). In each table, there is a "dates" column (MM/DD/YYYY) and precipi...

5 days ago | 1 answer | 0

Question

Is it possible to write a loop for doing this?

Hi, I don't know how to write a for loop to do this using some for loops in order to reduce lines: nCELL = numel(MERRA2_selecte...

6 days ago | 1 answer | 0

Question

Converting arrays in a cell to tables

Hey all, I want to know how I can convert all cell arrays in mycell.mat to table?so at the end I would have a cell that have tab...

6 days ago | 1 answer | 0

Question

Select only January and April months among 30 years monthly data (how to filter?)

Hey all, I have a cell (1 x 92) which includes 92 tables . In each table I have a column named dates. I want to filter the whol...

7 days ago | 0 answers | 0

Question

Monthly data to seasonal using sum (how to use splitapply)

Hi, I wish you are safe and healthy! I have a 1 x 3 cell with three 360 x 3 table. Each table has a column date with 30 years ...

7 days ago | 1 answer | 0

Question

Is griddedinterpolant omits NaN?

Hey all, I want to know when we using griddedinterpolant while we have some NaN in our data set, are they NaNs fills by gridded...

8 days ago | 1 answer | 0

Answered

how do I locate a question I asked a few days ago?

Hello, Click on the My Community Profile button on the top right of the page Then you can see list of your question.

how do I locate a question I asked a few days ago?

Hello, Click on the My Community Profile button on the top right of the page Then you can see list of your question.

10 days ago | 0

Question

how to write a for loop in this case?

Hey all, I have a 30x1 cell. I want to convert these hourly cells to daily so I used this line: daily_tmax = squeeze(mean(resh...

10 days ago | 1 answer | 0

Question

Delete part of the third dimension for arrays that store in the cell

Hello all, If I had just one 3d array I know I can use: new = 3darray(:,:,2:end) In order to delete the first number of the t...

11 days ago | 1 answer | 0

Question

Convert hourly temperature data into daily in the specific time interval

I have a 3d matrix (81x69x8760). In essence, 8760 is hours of one year or 8784 if it was a leap year. I would like to get daily ...

11 days ago | 1 answer | 0

Question

Converting hourly arrays to daily

Hey all, I hope you are well! I have a 31 x 1 cell which includes 3D arrays (81x69x8760 or 8784 in leap years); The 81 is longi...

11 days ago | 1 answer | 0

Question

Multiplying by the number of the day of each month in a cell arrays

Hey all, I have a 1 x 8 cell which includes tables. In each table, there is the date column and the results column. In each row...

14 days ago | 2 answers | 0

Answered

Joining tables stored in a cell array

I think you are looking for vertcat, Result = vertcat(Data{:});

Joining tables stored in a cell array

I think you are looking for vertcat, Result = vertcat(Data{:});

14 days ago | 1

| accepted

Question

An error when using the load command

Hey all, I hope you are safe and healthy. I have a little problem with reading a NetCDF from another directory rather than the ...

19 days ago | 1 answer | 0

Question

Interpolation data to achieve gridded latitude and longitude when I have 360 month

Hey all, I have a table that has four columns (longitude, latitude, date, and observed_value). In my table latitude and longitu...

2 months ago | 1 answer | 0

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 months ago

Question

Convert 2D data to 3D matrix

I have a 34200 x 4 table. This table shows the 30 years monthly amount of pr (precipitation) in some latitudes and longitudes. ...

2 months ago | 1 answer | 0

Question

Selecting parts of gridded data- I Need Help. I want to know it's possible or not?

Hey all hope you have a good time, I have a (1 x 1171) cell which includes tables. Each table has a specific latitude and longi...

2 months ago | 1 answer | 0

Question

Plot grided latitude and longitude as pixels on map

I want to plot gridded latitude and longitude as pixels on the map, Latitude is 1 x 32 and longitude is 1 x 40 I don't know how ...

2 months ago | 1 answer | 0

Question

Am I doing this right? (a Math formula to Matlab language)

I needed to calculate this formula: So I wrote a function in order to do that: (P is x and P^ is y): function NS = nash_sa...

2 months ago | 2 answers | 0

Question

I wrote a function for a math formula, may I ask you please check my code?

Hey all, For my research, I needed to calculate some formula, So I searched everywhere, including Matlab file exchange and find...

2 months ago | 1 answer | 0