統計
All
ランク
of 160,817
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
Is it possible to reduce this for loop into one line of code?
My goal is to simplify the for-loop below to a one line of code. Please see attached for a mat file storing the Headers variable...
約1ヶ月 前 | 4 件の回答 | 0
4
回答質問
How to simplify this for-loop into a one line of code?
Attached is a file storing a cell array A, a logical array for the columns: tf, and a logical array for A: map2. My goal is to...
約1ヶ月 前 | 1 件の回答 | 0
1
回答回答済み
How to identify strings that can be converted to float numbers in a cell array?
Can it be as simple as this? >> str2double(A) ans = NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ...
How to identify strings that can be converted to float numbers in a cell array?
Can it be as simple as this? >> str2double(A) ans = NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ...
約1ヶ月 前 | 0
回答済み
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...
約1ヶ月 前 | 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...
約1ヶ月 前 | 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...
約2ヶ月 前 | 1 件の回答 | 0
1
回答質問
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...
約2ヶ月 前 | 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ヶ月 前 | 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ヶ月 前 | 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ヶ月 前 | 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...
約2ヶ月 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | ダウンロード 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年以上 前 | 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年 前 | 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年 前 | 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年以上 前 | 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年以上 前 | 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年 前 | 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年 前 | 0 件の回答 | 0