Feeds
已回答
How to identify strings that can be converted to float numbers in a cell array?
Many thanks for the proposed solution. Unfortunately, I have hundreds of these files, and each of them is like a box of chocol...
How to identify strings that can be converted to float numbers in a cell array?
Many thanks for the proposed solution. Unfortunately, I have hundreds of these files, and each of them is like a box of chocol...
3 hours 前 | 0
提问
How to identify strings that can be converted to float numbers in a cell array?
I can convert a string to double using str2double, but my goal is to identify such cells. Attached is an example file. A = rea...
4 hours 前 | 2 个回答 | 0
2
个回答提问
Cell2table issues when a numerical column is read as strings
Attached is a data file test5.mat, containing a varaible "A". It stores one column (out of many columns, which can either be num...
17 hours 前 | 2 个回答 | 0
2
个回答提问
How to assign a double value to a cell array?
My goal is to replace any missing values in my cell array T1 with -999, if the column is composed of floating numbers, and repla...
23 hours 前 | 1 个回答 | 0
1
个回答提问
Is this a bug of the detectImportOptions function?
My goal is to determine the location of the variable names row. Attached is a sample Excel data file. Metadata information cou...
2 days 前 | 0 个回答 | 0
0
个回答提问
Matlab Central bugs?
While I was trying to post a question on my Safari, several fields, including the "Description" was grayed out. As a result, I c...
2 days 前 | 0 个回答 | 0
0
个回答提问
How to read all rows of an Excel with missing rows included?
My goal is to read all contents of an Excel file as cells using the function "readcell". However, every time when I used this fu...
2 days 前 | 4 个回答 | 0
4
个回答提问
How to detect missing values in a string cell array
I have a cell array A like the below: Columns 1 through 4 {'NAME'} {'STNNBR'} {[<missing>]} {'SAMPNO'} . I tri...
3 days 前 | 1 个回答 | 0
1
个回答提问
Indexing data on a grid
I have a variable VAR with a size of 360 x 180. I also have an index Ind (composed of 1 and 0) on the same size. How do I get a ...
1 year 前 | 1 个回答 | 0
1
个回答提问
How do I do a regress like this?
I have a series of numbers that decrease by about the same percetentage rate with time. How do I do the regression to find the e...
1 year 前 | 2 个回答 | 0
2
个回答提问
Anyone knows how to make a vertical contour plot like this?
Attached is an example. The figure is from this paper: https://science.sciencemag.org/content/363/6432/1193. I wonder if this c...
4 years 前 | 0 个回答 | 0
0
个回答已提交
Reading information of a NetCDF file
"ncdisp" does not indicate the N number of a variable. Here is an alternative function. Var = netcdf.getVar(ncid, N);
4 years 前 | 2 次下载 |
提问
How to make a text area in app-designer GUI copyable?
I create a GUI interface using Matlab app-designer. One thing I notice is that the info generated inside a text area box can not...
4 years 前 | 0 个回答 | 0
0
个回答提问
How to write a loop so that I do not need to repeat my super long inner loop?
The station number column of my data can be either numerical or string. I have to rely on the station number info to split the d...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to figure out the number of rows for headers?
I have Excel files with unknown number of headers. For exmple, some files only have one row of header info. Another one could ha...
5 years 前 | 2 个回答 | 0
2
个回答提问
how to format a column of numbers into strings for ticklabel use?
I have a column of longitude values for the xtick of my plot: xt = xticks(gca); The numbers of xt can be -120, -110, -100, etc...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to auto complete a text edit field in app-designer?
I designed an app using Matlab app-designer. It requires a filename input as below: File1 = ['working/', strtok(app.fileName.Va...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to fast process a calculation within a matrix without using a loop?
I have a huge matrix A, and what i need to do is to go through each of the matrix element and do this below simple calculation: ...
6 years 前 | 1 个回答 | 0
1
个回答提问
Question on Matlab m_map with interrupted mollweide projection
I'm trying to plot a global distribution map using the interrupted mollweide projection of M_map. Anyone knows why I only get ...
6 years 前 | 0 个回答 | 0