Community Profile

##### Last seen: 1 day ago
127 total contributions since 2019

View details...

Contributions in
View by

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

3 days ago | 1 answer | 0

### 1

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

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

3 days ago | 1 answer | 0

### 1

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

5 days ago | 1 answer | 0

### 1

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

5 days ago | 1 answer | 0

### 1

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

6 days ago | 2 answers | 0

### 2

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

6 days ago | 1 answer | 0

### 1

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

6 days ago | 1 answer | 0

### 1

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

7 days ago | 1 answer | 0

### 1

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

8 days ago | 1 answer | 0

### 1

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

8 days ago | 1 answer | 0

### 1

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

9 days ago | 1 answer | 0

### 1

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

9 days ago | 0

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

9 days ago | 0

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

9 days ago | 0

| accepted

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

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

10 days ago | 1 answer | 0

### 1

Question

A problem with using generalized code
UPDATE: I think I found what is the cause of this problem in fact in the last code that I wrote to this question, in this line ...

11 days ago | 1 answer | 0

### 1

Question

Eliminate the table inside a cell, if any NaN exists inside that table.
Hey all, I have a 1 x 1280 cell containing tables. I am sure there are some NaN inside some tables. I want to eliminate the ent...

11 days ago | 2 answers | 0

### 2

Question

Merge all rows in a cell into one row
Hey all, Here is my 40 x 32 cell. I want to merge all 40 rows into one row. So in the output, I would like to have a 1 x 1280 c...

11 days ago | 1 answer | 0

### 1

Question

Add specific date time column to every table inside a cell
Hey all, Here is my cell: I want to add a date-time column for each table. In fact, my date time column is just date.mat. I a...

11 days ago | 1 answer | 0

### 1

Question

Add columns to the tables that stored in a cell
Hey all, I have a 40 x 32 cell named Cnew. On the other hand, I have a 1 x 32 table named lat and 40 x 1 table named lon. I want...

12 days ago | 1 answer | 0

### 1

Question

Converting all arrays inside a cell to tables
Hello I have a 40 x 32 cell named C. Each element in C has a dimension of 1 x 1 x 336. I want to keep C as a cell but convertin...

12 days ago | 2 answers | 0

### 2

copy data from array to table
Hello, If A is your array and you want to have a table based on it, you can simply usearray2table. Table = array2table(A); If ...

12 days ago | 0

| accepted

Hello Look at this line of your code: simtickx(i) = sum( cell2mat(dat(p,2)); % one ) is missed You don't close a parenthesi...

13 days ago | 0

Question

Interpolate scattered latitude and longitude (climate) data and plot
Hello everyone, I have a table with 3 columns: latitude, longitude, and climate information. I want to plot these points on my ...

13 days ago | 1 answer | 0

### 1

Question

Filter a table based on date (Error using tabular/dotParenReference (line 95) Unrecognized row name '01/00/0000'.)
Hey all, I want to filter a huge table (namely testtable) based on a desired date at the date column. I was read Matlab docume...

13 days ago | 1 answer | 0

### 1

Question

Select columns from a table and add them into another table
Hey all, I have C1 and C2. Each one is (1 x 2) means that containing 2 tables inside. I want to copy column numbers 5, 6, and 8...

13 days ago | 1 answer | 0

### 1

Question

How to customize the subplots?
I searched a lot and read the documentation in Matlab, in order to plot 6 plot in one figure. Now it is done but really hard to ...

16 days ago | 2 answers | 0