Leon - MATLAB Central
photo

Leon


Last seen: 2 maanden ago Active since 2019

Followers: 0   Following: 0

Message

Statistics

All
MATLAB AnswersFile ExchangeFrom 03/19 to 05/25Use left and right arrows to move selectionFrom 03/19Use left and right arrows to move left selectionTo 05/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

19 Questions
2 Answers

File Exchange

1 File

RANK
86.655
of 298.641

REPUTATION
0

CONTRIBUTIONS
19 Questions
2 Answers

ANSWER ACCEPTANCE
52.63%

VOTES RECEIVED
0

RANK
17.871 of 20.635

REPUTATION
2

AVERAGE RATING
0.00

CONTRIBUTIONS
1 File

DOWNLOADS
1

ALL TIME DOWNLOADS
29

RANK

of 161.878

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 3
  • First Submission

View badges

Feeds

View by

Question


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

2 maanden ago | 4 answers | 0

4

answers

Question


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

2 maanden ago | 1 answer | 0

1

answer

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

2 maanden ago | 0

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

2 maanden ago | 0

Question


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

2 maanden ago | 2 answers | 0

2

answers

Question


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 maanden ago | 1 answer | 0

1

answer

Question


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 maanden ago | 1 answer | 0

1

answer

Question


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 maanden ago | 0 answers | 0

0

answers

Question


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 maanden ago | 0 answers | 0

0

answers

Question


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 maanden ago | 4 answers | 0

4

answers

Question


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 maanden ago | 1 answer | 0

1

answer

Question


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

meer dan een jaar ago | 1 answer | 0

1

answer

Question


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

meer dan een jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 4 jaar ago | 0 answers | 0

0

answers

Submitted


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);

meer dan 4 jaar ago | 1 download |

0.0 / 5

Question


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

meer dan 4 jaar ago | 0 answers | 0

0

answers

Question


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

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 5 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 6 jaar ago | 0 answers | 0

0

answers