Community Profile

photo

Albert Bing


Last seen: etwa ein Monat vor Aktiv seit 2016

Statistiken

  • Knowledgeable Level 1
  • Explorer
  • First Answer
  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


How to show multi data probability densities in one axes?
Say I have lots of samples, (x, y). To show the probability density, I can use binscatter(x, y). The transparency gives the den...

etwa ein Monat vor | 2 Antworten | 0

2

Antworten

Frage


How to switch uitab using commands?
I wrote a GUI program and needed to switch uitabs. Is it possible to switch to next uitab using command? Suppose I had 2 axeses,...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
loop iteration of table in excel
xlswrite(filename, Data, sheet) e.g. A = randn(4,3,6); filename = 'test.xlsx'; for i=1:6 xlswrite(filename, A(:,:,i), i...

mehr als 2 Jahre vor | 0

Frage


How to calculate the standard error estimation when using fit from curve fitting toolbox?
Is is possible to calculate the standard error estimation when using fit from curve fitting toolbox as in polyfit? Suppose I ha...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why do questdlg & plot suddenly become very slow? Need to wait more than 5 minutes
A simple questdlg cost more than 5 minites to show the contents. The window shows, but without title, prompt, or buttons until m...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to save the codes in GBK encoding by default in R2020b?
I wrote some codes in R2020b. Turns out they are all UTF-8 encoding. UTF-8 is good, but I need to run my codes in older verson ...

etwa 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Does `uiopen('path\to\pic.fig')` reset the user modified toolbars?
I wrote a GUI program. It saved figures automatically by certain rules. For convenience I changed some toolbars of the figure, a...

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Why do I get a warning "Name is nonexistent or not a directory" about the Editor_vxdxq folder?
Here is my solution. In your startup.m file, add several lines as following paths=path; editors=regexpi(paths, 'C:[^;]*Editor...

mehr als 3 Jahre vor | 1

Beantwortet
Error message: Name is nonexistent or not a directory
Here is my solution. In your startup.m file, add several lines as following paths=path; editors=regexpi(paths, 'C:[^;]*Editor...

mehr als 3 Jahre vor | 0

Frage


How to set the grid of the right yyaxis?
I have a figure that has 2 yyaxis, and I want the grid shown on the right yyaxis. But the command grid on is only effective on t...

mehr als 3 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Why is line visible while its parent axes is unvisible?
Say a script as following, fig = figure; ax = axes(fig, 'Visible', 'on'); plot(ax, 1:8, cos(pi*(1:8)),'r-x'); set(ax, 'Visib...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Does `imshow` just delete all other objects in the axes?
It seems that imshow just deletes all other objects or handles in the parenting axes. Say I have a script like this fig = figu...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to exit zoom mode by shortcut in my own GUI?
I wrote a GUI program, in which the zoom operation was frequently used. So I defined a KerPressFcn “ctrl+=” which was the "zoom ...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to set shortcuts for zoom tool in my own GUI?
I wrote a GUI in which the zoom tool was frequently used, so I wanted to give it a shortcut. I wrote the figure's KeyPressFcn as...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is is possible to change the font size of a questdlg's buttons?
I know the message can be set by opts in answer = questdlg(quest,dlgtitle,btn1,btn2,btn3,opts). But is it possible to also chan...

etwa 4 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How to change the property of a GUI button by a function?
I am writing a GUI function. Some uicontrols need to switch their position in certain cases. So I wrote a nested function, to sw...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why isn't the progress bar in the center of the waitbar after setting the position?
For some reason I wanted to change the position of the waitbar. But the progress bar was not in the center anymore. Any suggesti...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to get groot before R2014b?
I am working on a GUI program. groot was used in the scripts. However, when applying it I found some old computers installed ol...

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Why is `struct('name', value)` different with dot notation?
a = {{'abc'}}; S1 = struct('f', a}; S2.f = a; I thought S1.f and S2.f have the same value. But it's not. S1.f = {'abc'}; S2...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


What is the default varargin in the GUI callbacks? What are the differences between varargin{1} and varargin{2}.Source?
I have been writing GUI programmatically. And I was told to use function varargout = someUI_Callback(varargin) to write the Call...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to format YTickLabel with x10^n on when plotting a figure?
How to set the decimal digits of YTickLabel in figure? I tried some ways, but numbers with '%.4f' was too long, numbers with '%...

etwa 8 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


How to set YTickLabel in double y-axis plot?
The simplified code is as following: x=[2,3,4,5,6,7]; y1=[ 1, 1, 1.2, 1.2, 1, 1]; y2=[ 0, 0.01, 0.02, 0.02, ...

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten