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 hours ago | 0 answers | 0

Question

Add multiply shapefiles in one figure and set custom colors for them

Hey all, I have 4 shape file. I know how to read them using this code: % first shape file is for whole country country = '...

20 hours ago | 0 answers | 0

Question

Monthly data to seasonal using sum

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

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

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

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

4 days ago | 1 answer | 0

Question

Split and Merge between cell arrays in a cell.

Hey all, I have a 3x1 cell, Which contains 3 3d matrices in the form of longitude x latitude x time. I want to know how I ca...

4 days ago | 0 answers | 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...

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

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

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

7 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{:});

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

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

1 month 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:...

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

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

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

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

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

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

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

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

1 month ago | 1 answer | 0

Question

Multiply number of days for each month to data column

Hello, I have a 1 x 10 cell which includes 10 tables. In all tables I have the date column and precip column. Dates are in month...

1 month ago | 1 answer | 0

Question

How to add a sequential number in a column of tables cell?

Hey all, I have a 1 x 1280 cell which includes tables. In all tables, I want to add a number after the word that wrote in the fi...

2 months ago | 1 answer | 0

Answered

Go through the table with a loop and change values

I think you won't need to use for loop. If A is the name of the table, then you can just use: A= readtable('dataset.csv'); A...

Go through the table with a loop and change values

I think you won't need to use for loop. If A is the name of the table, then you can just use: A= readtable('dataset.csv'); A...

2 months ago | 0

Answered

Sub-plots properties

Hello SS, First I recommend reading this useful documentation. In this case you want 4 subplots, so you subplots should be in ...

Sub-plots properties

Hello SS, First I recommend reading this useful documentation. In this case you want 4 subplots, so you subplots should be in ...

2 months ago | 0

| accepted

Answered

How to add a greek letter as part of the xlabel

Dear H LIU, You need to type like this: xlabel(['{Other part of the sentense}' char(949)]) Further, if you want using subersc...

How to add a greek letter as part of the xlabel

Dear H LIU, You need to type like this: xlabel(['{Other part of the sentense}' char(949)]) Further, if you want using subersc...

2 months ago | 0

| accepted

Answered

Help me in fuzzy??

Hello, Do you have Fuzzy Logic Toolbox? fuzzy is a command in Fuzzy Logic Toolbox. You need to have this toolbox. Type: ver ...

Help me in fuzzy??

Hello, Do you have Fuzzy Logic Toolbox? fuzzy is a command in Fuzzy Logic Toolbox. You need to have this toolbox. Type: ver ...

2 months ago | 1

Question

fillmissing if the amount of NaN smaller than 15% in all table.

Hello, I have a cell named NewC2LatLon. This cell including 1200 tables. I want to check the “precip” column of each table and ...

2 months ago | 1 answer | 0