Community Profile

photo

Leon


Last seen: Today

NOAA

112 total contributions since 2011

Contact

Leon's Badges

  • Thankful Level 4
  • First Answer

View details...

Contributions in
View by

Question


How to properly position multiple plots within app-designer
I use gridlayout to hold each of the plots, but they go wild quickly. In the attachment is a picture of what it looks like. Plea...

etwa 15 Stunden ago | 0 answers | 0

0

answers

Question


How to make zoom in and zoom out functions of a figure work in this situation?
I have some x and y values that differ a lot in terms of their ranges. For example, the x values could be -0.03 -0.02 0 0.0...

ein Tag ago | 0 answers | 0

0

answers

Question


How to let a numerical field to be assigned preferrentially by user input?
I'm designing a GUI app using App-Designer, and below is what I want for two numerical fields, i.e., the min depth and max depth...

etwa ein Monat ago | 1 answer | 0

1

answer

Question


How to check if a table exists?
The table, it exists, will be created by using the command "table". It has columns of both numerican values and strings. How...

etwa 2 Monate ago | 2 answers | 0

2

answers

Question


How to find index of rows without -999
I have a super long matrix like the below: -5, 25, 35 -999, 8, 12 5, 7, 16 8, 9, -999 -999, -999, -999 22, 3, -999 How do...

etwa 2 Monate ago | 1 answer | 0

1

answer

Question


How to write a function for this simple purpose?
I have a variable A. If it is between 5 and 50, B = 10, etc. (like the below). How do I write a function so that B = f(A)? Thank...

3 Monate ago | 3 answers | 0

3

answers

Question


Is this a Matlab bug? The use of Ctrl + A to select all
I use Ctrl + A and then right click "smart indent" a lot. Unfortunately, every time I do that, my cursor is moved to the very ...

3 Monate ago | 1 answer | 0

1

answer

Question


How to detect if a plot has already existed?
What I want to do is to plot my sampling stations on a map. The map is pre-plotted . I want to delete the previous sampling stat...

3 Monate ago | 1 answer | 0

1

answer

Question


How to clear file name and file path information?
Most variables can be cleared by var = []; When I treid to do the same thing for my file name and path like below: app.File....

3 Monate ago | 1 answer | 0

1

answer

Question


How to control the precison of a table that has varying number of columns in writetable?
This is my table: T1 = table(A, EXP, CRU, STA, CAS, NIS, SAM, ... ); If the # of columns is set, I would be able to specify th...

3 Monate ago | 0 answers | 0

0

answers

Question


How to wrap text within buttons of app-designer
Is there a way I can chose to wrap the text in my button to a 2nd row, instead of letting it to overflow outside my button? Tha...

3 Monate ago | 1 answer | 0

1

answer

Question


How to check if an entire column of string variables can potentially be converted to numerical values?
I have a column variable normally look like this: 'ABC1234' 'DEC1236' 'CFG5645' ... Once in a while the column data will b...

3 Monate ago | 2 answers | 0

2

answers

Question


Why is the length of these two variables are different?
I use the same number c to set the length of these two variables A (numerical) and B (string). Why are their lengths are differ...

3 Monate ago | 1 answer | 0

1

answer

Question


Is it possible to use a variable name like this within Matlab?
I have standardized header names with slash like this: OXYGEN_UMOL/KG. How do I escape the '/' so that I can use commands like...

3 Monate ago | 1 answer | 0

1

answer

Question


How to turn NaN values in only numerical columns into -999?
I have some data with both numerical and string columns. See attached for an example (aa.xlsx). It has four columns like thi...

3 Monate ago | 3 answers | 0

3

answers

Question


How to write only non-NaN columns into Excel
Below is my code to write these column data into an Excel spreadsheet using the writetable command: T1 = table(Cruise, EXPOCODE...

3 Monate ago | 1 answer | 0

1

answer

Question


How to create pseudo x-axis (or y-axis) tick labels?
I'm writing a program that requires me to change the x or y values by a factor in order to address a bug within Matlab. For exam...

3 Monate ago | 1 answer | 0

1

answer

Question


How to link an App-Designer push button to a keyboard key?
I create two push buttons for my program, PREVIOUS and NEXT, how do I linke them to the Left and right Arrow key on my keyboard?...

4 Monate ago | 1 answer | 0

1

answer

Question


How to initiate an existing callback from a current callback in Matlab app-designer?
In the below example, what I'm trying to achieve is to call back the 2nd function from the first callback function. How do I do ...

5 Monate ago | 1 answer | 0

1

answer

Question


How to set up writetable so that the generated Excel file follows a certain display format?
Below is my code to write some data into Excel: T1 = table(Cruise, Station_no, Lon, Lat, Year, Month, Day, Time, Pr...

5 Monate ago | 1 answer | 0

1

answer

Question


How to enable a figure so that if I click on a point and it will show the value?
If I have a three column data of x, y, and z, how do I make a plot of x vs y, so that if I click on a point, the value z will sh...

5 Monate ago | 1 answer | 0

1

answer

Question


How to get the value of Radio buttons from App Designer
Here is my radio button: app.ButtonGroup app.A_button app.B_button What I want to do is this: Button A should be the defaul...

7 Monate ago | 1 answer | 0

1

answer

Question


How to make a column plot like this one?
Anyone knows how to make a column plot like the one in the attachment? Many thanks!

7 Monate ago | 1 answer | 0

1

answer

Question


Please help me choose the best hardware for my Matlab processing
I have around 50 million rows of data to process. The number will be increasing into the future. I want to invest around $10K on...

7 Monate ago | 0 answers | 0

0

answers

Question


Why does Matlab require a Parallel computing toolbox in order to use more CPU cores?
Is it true that if I have a multi-core CPU computer and Matlab will only use one of the CPU cores, unless I leverage the paralle...

7 Monate ago | 1 answer | 0

1

answer

Question


How to extract the numerial values out of readtable output?
Good afternoon! My apologies for the many questions related to readtable. Attached is my data file. I use the below command to ...

8 Monate ago | 1 answer | 0

1

answer

Question


Table values that is a scalar string
I use readtable to input an Excel file into Matlab. T1 = readtable('AA.xlsx'); Now I know T1(3,48) = '32WC20110812', but I ...

8 Monate ago | 2 answers | 0

2

answers

Answered
xlsread error: Array indices must be positive integers or logical values.
Thanks all for the replies. I'm using Excel Version 16.25 on MacOS 10.14.5

8 Monate ago | 0

Question


xlsread error: Array indices must be positive integers or logical values.
When I try to use xlsread to read the attached Excel file: [A B C] = xlsread('AA.xlsx'); Why do I keep getting this error? It ...

8 Monate ago | 2 answers | 0

2

answers

Answered
How to determine if a string can be converted to a numerical value?
Old thread, but the function 'isfloat" will do the trick.

8 Monate ago | 0

Load more