Beantwortet
Opening uisetcolor extremely slow R2016b
Thanks Greg, wasted hours till I found your post. It's completely baffling why MATLAB would replace a perfectly good utility ...

mehr als 4 Jahre vor | 1

Beantwortet
run code section in nodesktop mode
Figured as much. A pity though, it would be enormously helpful, and a great enhancement, for those of us who despise desktop ...

mehr als 5 Jahre vor | 0

Frage


run code section in nodesktop mode
Title says it all. I always run matlab with the -nodesktop flag. I've just learned how to run a code section from within ...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Why does a commented out line generate an error
The following code throws an error CellArray = { ... 'X' ... % ,'X...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I prevent the legend from REALLY auto-updating
I'm plotting graphs of the same type in multiple subplots, with some subplots left blank. I'd like to use the blank spots to ...

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


reverse the output order of the constraint function argument of fmincon
I frequently use fmincon to solve for a bunch of equality constraints, but my problems have no inequality constraints. My e...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Enter debug mode if a variable changes value
I'm trying to debug somebody else's impenetrable matlab code; at the beginning of each iteration of a loop, I'm displaying the ...

etwa 6 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Convert a symbolic vector to a list of scalar outputs for a function created by matlabFunction
When matlabFunction creates an anonymous function, its arguments are always scalars. But when I want to use the function, m...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to use exist for a function that begins with an@
Following @JanSimon's suggestion in <https://www.mathworks.com/matlabcentral/answers/178671-is-it-possible-to-call-a-subfunctio...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Inconsistent behavior updating tick labeling
In the code below, I'm adding ticks to the Y axis. The first time I do it, YTickLabel updates correctly, adding an additional...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Use distinct colormaps for two different surf plots on the same figure
Using R2016b, I would like to create two surf plots and use a different colormap for each one. It appears that the only way ...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Prevent automatic simplification of a symbolic expression when using the latex command
I have the following expression f = @(k,n)1.0./n.^(2.0./3.0).*(6.0.^(1.0./3.0).*k.^(1.0./3.0).*4.0-k.*n.^(2.0./3.0).*...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Why do I receive this error "Support of character vectors that are not valid variable names or define a number will be removed in a future release. "?
I'm trying to differentiate an expression f which has a horrible coefficient, specifically, (4/3)^(5/6). I want to prevent matl...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Shortcircuiting multiple dbquit commands
Many times I find myself in a workspace, making an error, which throws me into debug mode, repeatedly making mistakes while tryi...

mehr als 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


hatching a 3d patch object.
I'm wondering if anybody has built code for adding cross-hatches to a 3D patch object? I see that this task is on Kesh Ikuma's ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Limiting the extent of the crop using export_fig
I'm using export_fig with the following command (both options are necessary for me): export_fig('png','opengl',<filename>...

mehr als 7 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Preventing focus theft while running matlab from the command line and creating figures
There have been several posts on this subject such as <https://www.mathworks.com/matlabcentral/answers/88176-keep-focus-in-comma...

mehr als 7 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


return the row and column number of the current subplot
is there a property of `gca` that will return the row and column number of the current subplot? e.g., I'd like a command that...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Constructing a a family of anonymous functions by recursion.
I'm trying to define a sequence of functions recursively. The example below (which is obviously silly) illustrates the idea...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


set default properties of symbolic variables
Whenever I use the symbolic toolbox, I always want my symbolic variables to be real and non-negative. It's annoying to have to m...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


A flag to indicate whether or not the int function has successfully computed a symbolic integral
The example below indicates my problem. In the first case, matlab cannot integrate the function provided to it and simply retu...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Suppress Academic license notification
As root, edit the file $MATLABPATH/resources/MATLAB/en/branding.xml (Better back it up first! I forgot to) Change th...

mehr als 7 Jahre vor | 3

Frage


sort a one dimensional array ascend and descend
To sort a vector in ascending order it would seem completely obvious to type sort([1,3,2],1,'ascend') Who cares what the...

mehr als 7 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Fine tuning a 3D figure without modifying the arguments of `view`
In the figure below, the cluster of stem lines to the left of the figure (a cluster is identified by a common color) are quite ...

fast 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Interactive script to return from a matlab function
I'm trying to construct a matlab script that I can call from a matlab function, which will prompt me if I want to return to the ...

fast 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


installing a new package
I'm trying to install an additional package of R2016a. My host is linux. Following instructions from I have the installer ...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Fragility of matlab's solve routine, possibly a bug?
I wrote a problem set for first time matlab programmers, which involved using the solve routine. Unfortunately, they discover...

fast 8 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Execute a command after a delay
Based on <https://www.mathworks.com/matlabcentral/answers/276660-command-for-delaying-matlab-to-execute-a-certain-line this thre...

fast 8 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Bug? sym alpha takes precedence over matlab's alpha.m at the command line, but not within a matlab function.
When I run the following code, there is no problem: syms xDot(t) t alpha dF_dxDot = @(t) -exp(-t)*alpha*xDot(t)^(...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


access to matlab history while running in nodesktop mode
I'd like to have access to a file that has saved my command history while running in nodesktop mode. This question was asked in...

fast 8 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden