질문

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

약 12시간 전 | 답변 수: 1 | 0

해결됨

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일 전

질문

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일 전 | 답변 수: 1 | 0

질문

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

3일 전 | 답변 수: 1 | 0

질문

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

3일 전 | 답변 수: 1 | 0

질문

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

3일 전 | 답변 수: 2 | 0

질문

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

4일 전 | 답변 수: 1 | 0

질문

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

4일 전 | 답변 수: 1 | 0

질문

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

5일 전 | 답변 수: 1 | 0

질문

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

6일 전 | 답변 수: 1 | 0

질문

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

6일 전 | 답변 수: 1 | 0

질문

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

7일 전 | 답변 수: 1 | 0

답변 있음

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

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

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

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

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

7일 전 | 0

| 수락됨

답변 있음

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

7일 전 | 1

질문

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

8일 전 | 답변 수: 1 | 0

질문

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

9일 전 | 답변 수: 1 | 0

질문

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

9일 전 | 답변 수: 2 | 0

질문

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

9일 전 | 답변 수: 1 | 0

질문

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

9일 전 | 답변 수: 1 | 0

질문

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

9일 전 | 답변 수: 1 | 0

질문

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

10일 전 | 답변 수: 2 | 0

답변 있음

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

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

10일 전 | 0

| 수락됨

답변 있음

How adding multiples values insiade Excel file ?

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

How adding multiples values insiade Excel file ?

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

11일 전 | 0

질문

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

11일 전 | 답변 수: 1 | 0

질문

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

11일 전 | 답변 수: 1 | 0

질문

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

11일 전 | 답변 수: 1 | 0

질문

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

14일 전 | 답변 수: 2 | 0

답변 있음

how to replace missing values from a double inside a cell array?

index=find(A==100000); %found 100000 in the A A(index)=NaN; % Replace them by NaN

how to replace missing values from a double inside a cell array?

index=find(A==100000); %found 100000 in the A A(index)=NaN; % Replace them by NaN

14일 전 | 0