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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 2 answers | 0

2

answers

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 2 answers | 0

2

answers

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

mer än 4 år ago | 0

| accepted

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

mer än 4 år 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 ...

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 1 answer | 0

1

answer

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

mer än 4 år ago | 2 answers | 0

2

answers

Answered
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

mer än 4 år ago | 0

Question


Run this code for every certain columns of tables in a cell and saving the result in new cell
Hi all, I have a cell named C. In the C I have 71 tables. Each table has a column named rrr24. I want to run this code below fo...

mer än 4 år ago | 2 answers | 0

2

answers

Question


Need Help about this for loop
Hey all, I have a very simple issue about saving for loop results in the one variable at the end. I have this code. In the Firs...

mer än 4 år ago | 1 answer | 0

1

answer

Question


Adjust intervals of x-axis in the plot!
Hey all, I have SI and Date which I want to plot them. The Date is in a monthly format from 1989 to 2018 (360 months). I haven...

mer än 4 år ago | 1 answer | 0

1

answer

Answered
Words as x axis?
First, you can create Words Words = {'word_one'; 'word_two'; 'word_three'}; then plot what ever you want, and after plot part:...

mer än 4 år ago | 3

| accepted

Question


I want fill NaN in one column using average of two other column but I got an error.
Hey all, I want to fill all NaNs in the column named tm_m in the all tables that store in a 1 x 71 cell array named C using an a...

mer än 4 år ago | 1 answer | 0

1

answer

Question


How to avoid this Warning: Polynomial is badly conditioned?Need Help
Hey all, when I used this code below: for i = 1:height(stationList) % Locate the pairs or stations in Cmo rowIdx1 = s...

mer än 4 år ago | 1 answer | 0

1

answer

Question


Set negative values to zero in just one column of tables in 1 x 71 cell
I have 1 x 71 cell arrays that contain 71 tables. I want to set all negative values in the rrr24 column of all tables into zero....

mer än 4 år ago | 1 answer | 0

1

answer

Question


How to combine arrays in a cell from 71 x 12 to 1 x 71?
Dear all, I had a cell named C which was 1 x 71 cell. I use the code below to split it into Cmo that is 71 x 12 cell array: C...

mer än 4 år ago | 1 answer | 0

1

answer

Question


How to have a loop-for to filling NaN rows?
I want to fill NaNs in a certain column of tables in C.mat, using a linear regression equation with regards to the information t...

mer än 4 år ago | 1 answer | 0

1

answer

Answered
convert xlsread to readcell
You can use readtable which in my opinion it's the best way to read excel files. excel_file = readtable('RfidChipTrueValues.xls...

mer än 4 år ago | 0

| accepted

Question


How to split 3d matrix into sub-2d matrices?
I have a 3d matrix (40 x 32 x 408). I want to split it to the separate matrix like this: 1 x 1 x 1 (Get first value of firs dim...

mer än 4 år ago | 1 answer | 0

1

answer

Question


Is it possible to use the for-loop for this purpose?
Although now I'm doing this work manually by my hand if there is any chance to know I want to ask is there any way to do this us...

mer än 4 år ago | 2 answers | 0

2

answers

Question


Problem with obtain regression equation between 2 data sets
I have 2 data sets, I think it would be easy to obtain regression equation with Matlab but I might toght wrong. because I try co...

mer än 4 år ago | 2 answers | 0

2

answers

Question


How to write a loop for this case?
Hello everyone, I have a big table (25560 x 12) which includes data for 71 stations on a monthly bases from 30 years. I want to...

mer än 4 år ago | 3 answers | 0

3

answers

Question


Extract data based on the name and month from the table
Hey, all, I have a table (25560 x 12). I want to extract data from it based on the names (from station_name column) and month n...

mer än 4 år ago | 1 answer | 0

1

answer

Question


Help me to find nearest latitude and longitude between a bunch of latitudes and longitudes
Hello, I have a problem that I don't know how to fix it. It doesn't complicated problem but I can't solve it. I have some stati...

mer än 4 år ago | 1 answer | 0

1

answer

Answered
Exporting and save Data from Matlab to Excel
Hey, if you want to save Nameofyourdata to the directory E:\mydirectoryname. You can use fullfile dir = 'E:\mydirectoryname'; ...

mer än 4 år ago | 0

Load more