Leo Simon
U.C. Berkeley
Followers: 0 Following: 0
Statistica
RANK
1.347
of 295.638
REPUTAZIONE
52
CONTRIBUTI
107 Domande
15 Risposte
ACCETTAZIONE DELLE RISPOSTE
70.09%
VOTI RICEVUTI
33
RANK
of 154.207
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
Force zeros to be be symbolic
In the following code, syms x y f{1,1} = @(x,y) x+y bad = 1; if bad f{1,2} = @(x,y) 0 else f{1,2}=@(x,y) sym(...
quasi 3 anni fa | 2 risposte | 0
2
risposteDomanda
find all anonymous function in a workspace
There surely has to be a way of doing this: finding all anonymous functions in a specified workspace. Presumably the solutio...
quasi 3 anni fa | 2 risposte | 0
2
risposteDomanda
Construct a single anonymous function from a cell array of anonymous functions
I want to run a double loop that creates an anonymous function h consisting of the cell array of anonymous functions f . I...
quasi 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Disable unwanted "Interact directly with charts" popup
I guess it's a new feature in R2021a, but it's infuritating. If for example I type plot(magic(10)) the window as in the fi...
circa 3 anni fa | 0 risposte | 1
0
risposteDomanda
How to avoid eval when eval seems unavoidable
Everybody on this forum agrees that eval is a terrible terible thing to use. But often it seems to me to be unavoidable. ...
circa 3 anni fa | 2 risposte | 0
2
risposteDomanda
How to get an array of all field elements of a 1xN structure with many fields
In this thread. @Sebastian asked how to get an array of all field elements of a 1xN structure. @AdamDanz answered, but his ...
circa 3 anni fa | 2 risposte | 0
2
risposteDomanda
Turn off "Improve MATLAB by sending user experience" from the command line
From this site, I learned that one reason why matlab takes forever to quit is that by default, "Improve MATLAB by sending user e...
oltre 3 anni fa | 3 risposte | 1
3
risposteDomanda
legend doesn't list all of the plotted lines using plotyy
In the code below, 8 lines are plotted, but the legend displays only 7 of them. Could somebody please explain how I can dis...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
two extremely odd behavior using plotyy
My matlab version is 2020a. The following code has two problems. Are they really indended behavior?? 1) t...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Is there a way to tell matlab that set(gcf,'Visible','off') actually means don't show figures?
Unfortunately my code is sufficiently complex that I can't provide an MWE, but when I turn gcf Visibility off, using `set(gcf,'V...
circa 4 anni fa | 0 risposte | 0
0
risposteDomanda
Assign multiple elements of one cell array to another
Suppose I have a cell array A as below and I'd like B{;,:,2} to duplicate A. How can I do this without running a double lo...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
entering a space that survives the latex interpreter
I'm trying to include blank spaces in the title to a plot. When I run the title string through the latex intepreter, it k...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Drawing a line without creating a legend entry
In the MWE below, the green line shows up as the second row of the legend box. I want to be able to draw lines and increment...
oltre 4 anni fa | 2 risposte | 0
2
risposteDomanda
Command to exit to the base workspace?
Is there a command "between" return and quit that will exit from a workspace but leave me in the base workspace? return pu...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
exist function says directory figures exists when it doesn't
For some reason, even though the directory figures does not exist, the command exist('figures','dir') is returning a 7 instea...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Particularly strange bug using the eval function
In the MWE below, I define a bunch of parameters using an eval command. I know that the experts recommend against using eval...
oltre 4 anni fa | 5 risposte | 0
5
risposteDomanda
bug in the legend command for version 2019B?
This command does not throw an warning close all;plot(1:10);legend([ 'E$\hat{s}_{' n2s(ii) '}$' ],'Interpreter','latex','Auto...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Find index of an arbitrary cell array that contains a string
In This thread, @Jan answers the question in the title for the case of cell arrays that consist only of character variables. It...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
W = evalin('caller','who global') returns an error
The command evalin('caller','who global') correctly returns the global variables in the caller workspace, but W = evalin('c...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
dbstop doesn't stop if the line at which is supposed to stop is something like `'else'
If you save the code below to, say, mwe.m then at the command prompt type dbstop in mwe at 4 then call the function, it will i...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
matlab installer "you must verify your university login information" the "click here" link is dead
People have been complaining about this for years. I want to install an additional package. I run the installer and get to...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
preserving the absolute location of an annotation after changing axis limits, or typing 'axis square'
I'm trying to draw an arrow using the recommended approach, i.e., using axxy2figxy, and maintain the flexibility to use commands...
oltre 4 anni fa | 2 risposte | 0
2
risposteDomanda
Combining multiple colors and latex commands as tick labels
I want to have some ticklabels as colored symbols and others as symbols like \bar{x}. These desires seem to be incompatible. ...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Multi-colored tick labels in bold, redux
From this thread I learned from @Tommy how to create individually colored tick labels, using the Label function defined in the c...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Generating arbitrary colored tick labels
From this thread I learned from @FrankZalkow how to assign different colors to different tick labels. (I needed to use xtickl...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Short-circuiting multiple dbquit commands (update?)
A few years ago, in this thread I posed a question with the same title about how to avoid having to type dbquit, then dbstack, o...
oltre 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Mimicking the font that title() uses when calling it with latex interpreter
The command h1 = title('TITLE') brings up a title in a heavy bold font. I would like the command h2 = title('$\nabla$ T...
oltre 4 anni fa | 1 risposta | 0
1
rispostaGetting hatchfill to properly display a patch legend
It turns out that the problems I described in my original question can all be resolved by using the legendflex and hatchfill2 p...
circa 5 anni fa | 2
| accettato
Domanda
Getting hatchfill to properly display a patch legend
I'm using hatchfill to create patterned hatches, as the above example illustrates. However the legend shows a line rather tha...
circa 5 anni fa | 4 risposte | 1
4
risposteDomanda
Matlab answers no longer lets me cut an paste
I've been using this forum for decades, but suddenly there's been an "upgrade" to the interface, so that I can no longer cut and...
circa 5 anni fa | 1 risposta | 0