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

alrededor de 6 horas 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...

alrededor de 15 horas 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...

1 día 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...

1 día 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...

2 días 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)....

3 días 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...

3 días 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...

3 días 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...

4 días 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...

4 días 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 ...

5 días 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...

5 días 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.

7 días 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...

8 días 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...

8 días 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 ...

8 días 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...

9 días 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...

11 días 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{:});

11 días 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 ...

16 días 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...

alrededor de 1 mes 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:...

alrededor de 1 mes 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. ...

alrededor de 1 mes 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...

alrededor de 2 meses 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 ...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses ago | 1 answer | 0

Question

How to modify and improve this for-loop that I wrote?

Hey all, I have a cell that includes some tables. In each table, I have the rrr24 column and PRECIP column. I want to calculate...

alrededor de 2 meses ago | 1 answer | 0

Question

Error using tabular/addvars (line 174) Variables must have the same number of rows as the table they are being added to.

Hi, I have two cells, which include tables. I want to create a new cell and merges one-by-one tables into it. For example, the ...

alrededor de 2 meses ago | 1 answer | 0

Question

Finding nearest tables based on latitude and longitude columns

Hey all I have two cells; cell A and cell B. Cell A is 11 x 1, and cell B is 200 x 1. These cells include tables. Each table i...

alrededor de 2 meses ago | 1 answer | 0