Community Profile # John

Active since 2011

#### Statistics

• • • #### Content Feed

View by

Detecting an empty uitable
try the command "isempty" for example: if isempty(data) == 0 disp('data is here') else disp('data is not here')...

11 years ago | 0

position of maximum in matrix
Let's say A = [1 2 3; 4 5 6; 7 8 9]; [row,columns] = size(A); index_matrix = zeros(1,columns) for i = 1:columns ...

11 years ago | 0

Delete a plot in GUI rutine
assuming the graph where you are plotting things is called graph_one then follow the example: cla(handles.graph_one) plot...

11 years ago | 1

| accepted

Replace Nan with previous numbers
try the following: x = isnan(data); for i = length(data) if x(i) == 1 data(i) = data(i-1); end end ...

11 years ago | 0

¿Quisiera saber sobre matlab server con que comando puedo empezar?
Si quieres hacer un GUI, escribi GUIDE en la pantalla de ordenes. Despues eligi la primera opcion y continua de ahi.

11 years ago | 1

calling a gui from another gui in guide
If your main GUI will have 2 buttons then, under the function calls for each of the buttons you simply want to call the name of...

11 years ago | 0

GUI and dealing with functions
you can either, as Image Analyst states, get(handles.dropdownmenu1,'Value') during each function or you can simply store it in t...

11 years ago | 0

Needs Checkbox to draw a plot
Write an if statement that gets the value of the checkbox. When the checkbox's value is 1 then plot. This snip of code would hav...

11 years ago | 0

| accepted

Question

How can I Autofill a Cell in a Table?
I have placed a (3,1) table in a GUI and would like it to autofill the third cell with the same value the user added in the firs...

11 years ago | 1 answer | 0

### 1

Question

Creating an empty table matlab GUI
The default size of a table on matlab appears to be a 4x2. However I created a variable A = ones(3,1) and chose the data on the ...

11 years ago | 1 answer | 0

### 1

Question

Tables in GUIs
I have a 6x3 table in a GUI and when the user inputs numbers I would like to create a plot. Beforehand however, I have anoth...

11 years ago | 0 answers | 0

### 0

Question

Problem using copyobj
I have created a GUI with 2 axes. The code I generated plots data onto both axes however what I want to do is export these 2 axe...

12 years ago | 1 answer | 0

### 1

Question

GUI Plotting "hold on" problem
So my GUI contains two axes and multiple checkboxes. If the user checks on a checkbox part of the corresponding data for that ch...

12 years ago | 2 answers | 1

### 2

Question

Underlining a String or Bolding it
How can I underline the title or put it in bold? I have the following code: for j = 1:totalcount title = sprintf('L...

12 years ago | 1 answer | 1

### 1

Question

Is it possible to add a textbox outside the axes of a plot figure window?
I have tried the command "text(x,y,'String')" but that requires a specific location and my figure window plots always have diffe...

12 years ago | 2 answers | 1

### 2

Question

Matlab Legend
So in my plot I have numerous different programs being plotted however a certain program is being plotted in blue while all the ...

12 years ago | 1 answer | 0

### 1

Question

Plotting different data
So I am trying to plot about 150 different things on a matlab figure window and I was wondering if there was any possible way fo...

12 years ago | 1 answer | 0

### 1

Question

So I'm trying to create a popup menu whose options depend on another selection made earlier in the GUI. I know one can simply ad...

12 years ago | 1 answer | 0

### 1

Question

Matlab Color Vectors
Is there any website where I may obtain a list of Matlab's color vectors? I can only seem to find a website with the rgb color v...

12 years ago | 3 answers | 0