Pregunta


How to make text in uicontrol object disappear when user starts typing?
I have a question about the following editable text box, f = figure; % Make example figure peaks; % Plot peaks data that...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to stop getting cursor position?
I have a function based on <http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples?focused=5147026&t...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Why do lines look blurry with linewidth 1 in R2017a?
I am using R2017a and when I plot lines with linewidth of 1, they appear blurry or pixelated, as in the screenshot below. How ca...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Respondida
How to apply "hold" to some but not all plot objects
Jan Simon's answer <https://www.mathworks.com/matlabcentral/answers/58402-delete-line-in-gui here> actually solved the problem, ...

más de 8 años hace | 1

Pregunta


How to apply "hold" to some but not all plot objects
Is there a way to apply "hold on" to some plot objects, but to apply "hold off" to other objects in the same plot? The examp...

más de 8 años hace | 2 respuestas | 1

2

respuestas

Pregunta


How to make a shortcut to always "Run as Administrator"
I would like to change the default startup of Matlab to 'Run as Administrator', which is necessary for tasks like saving the pat...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Unexpected number of function input arguments
I am confused by "extra" function inputs in the program <https://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Help understand: Passing a function handle to another function as an argument
Can you help me understand the following line in the program <https://www.mathworks.com/matlabcentral/fileexchange/24861-41-comp...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Respondida
debugging a callback function
There is info on debugging a GUI <http://blogs.mathworks.com/videos/2011/03/21/adding-a-debug-button-to-a-matlab-gui/ here>, bot...

más de 8 años hace | 0

Pregunta


Are you using Matlab in an Agile development environment?
I am a researcher using Matlab, which means I am partly a programmer and so could benefit from improving how I write, document, ...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Is UML the right tool to make logic flow diagrams of mfile?
I am looking for a tool similar to <https://code2flow.com/ code2flow> to make a logic flow diagram of a convoluted legacy mfile ...

casi 9 años hace | 0 respuestas | 1

0

respuestas

Respondida
How to stop legend from adding 'data1', 'data2' when additional data is plotted
It turns out that the undesired entries can be deleted using the 'String' property of the legend. Below lh is the legend handle ...

casi 9 años hace | 2

Pregunta


How to stop legend from adding 'data1', 'data2' when additional data is plotted
In 2017a, when I make some plots and add a legend, then add subsequent plots, the legend is updated with new unwanted entries ge...

casi 9 años hace | 2 respuestas | 3

2

respuestas

Respondida
Legend Button displays data1, data2, etc
You need to include strings in the legend command. % Plot some data figure; h1 = plot(rand(1,7), rand(1,7)); hold ...

casi 9 años hace | 0

Respondida
polar plot bar chart combo or something similar?
You might want to see <https://www.mathworks.com/matlabcentral/fileexchange/47248-wind-rose windRose> on the file exchange.

casi 9 años hace | 1

Respondida
Polar Bar Plot Matlab (like Radar)
<https://www.mathworks.com/matlabcentral/fileexchange/47248-wind-rose Wind rose> is nice too (just ignore the fact that it is wr...

casi 9 años hace | 0

Pregunta


Problem with editor search in R2016b
I switched to R2016b last month when I got a new Windows 10 Pro machine, and have noticed a problem with the editor search funct...

casi 9 años hace | 1 respuesta | 0

1

respuesta

Respondida
Diagrams from matlab code
You might be able to use <https://code2flow.com code2flow> though it is for different languages.

casi 9 años hace | 0

Pregunta


How to specify the RGB color of each line in a waterfall plot?
Is there a way to specify the RGB color of each line in a <https://www.mathworks.com/help/matlab/ref/waterfall.html waterfall> p...

casi 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


What start time is assumed in Matlab's resample function?
When I use Matlab's resample function, what start time is assumed for the resampled time vector? All the plots and examples in t...

casi 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to add non-row-sized variable to table?
How can I add a variable to a table if the variable has a different length than the number of rows in the table? One reason to d...

casi 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


What colormap is used to generate ColorOrder?
What colormap is used to generate the default <https://www.mathworks.com/help/matlab/ref/axes-properties.html#prop_ColorOrder Co...

alrededor de 9 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Matlab style: should table names be capitalized?
In <https://www.ee.columbia.edu/~marios/matlab/MatlabStyle1p5.pdf Elements of Matlab Style>, Richard Johnson recommends capitali...

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Respondida
Why does table creation produce error "VariableNames property must contain one name for each variable in the table"?
Just figured this out: have to use <https://www.mathworks.com/help/matlab/ref/array2table.html array2table>, T = array2tab...

alrededor de 9 años hace | 12

| aceptada

Pregunta


Why does table creation produce error "VariableNames property must contain one name for each variable in the table"?
Can you please revise the following line of code to eliminate the error "VariableNames property must contain one name for each v...

alrededor de 9 años hace | 2 respuestas | 1

2

respuestas

Pregunta


Prevent MATLAB from creating empty mfile if it doesn't exist
I would like to turn off the following behavior: When I try to open a mfile that doesn't exist as far as MATLAB knows*, MATLAB c...

alrededor de 9 años hace | 2 respuestas | 0

2

respuestas