Respondida
Admins need to give a reason when they close a question!
I think this discussion is useful in an abstract sense, but the comments made to Doug about the closing seem like an inappropria...

más de 13 años hace | 1

Respondida
Admins need to give a reason when they close a question!
Whenever I close a question I add a comment as to why I have closed it. Of course this needs to be done prior to closing it. Thi...

más de 13 años hace | 2

Respondida
Unable to clear classes
Two related, but not duplicate, questions are http://www.mathworks.com/matlabcentral/answers/48088-inability-to-clear-object-...

más de 13 años hace | 0

Respondida
Accessing a symbolically-linked class in r2007b
Issues with symbolic links have been discussed <http://www.mathworks.com/matlabcentral/answers/18500-how-to-have-matlab-respect-...

más de 13 años hace | 2

| aceptada

Respondida
Static vs Object Method Performance Considerations
Dave Foti who manages the OOP group at TMW has a post on <http://blogs.mathworks.com/loren/2012/03/26/considering-performance-in...

más de 13 años hace | 1

Respondida
[DISCONTINUED] MATLAB Answers Wish-list #2 (and bug reports)
Now that we have a "My Comments" tab, I realize this is not what I wanted (although I appreciate TMW improving the interface bas...

más de 13 años hace | 0

Pregunta


Evaluation of input arguments
In answers to <http://www.mathworks.com/matlabcentral/answers/50907-possible-to-use-anonymous-function-as-script-function-input ...

más de 13 años hace | 1 respuesta | 1

1

respuesta

Respondida
User interface on R2012b
It is not clear to me from the documentation, and I do not have a Mac to check, but you probably can launch MATLAB with the -nod...

más de 13 años hace | 0

Respondida
Override how the value of a user defined class is displayed when it is a field of a structure
I think you would need to overload disp for the struct class.

más de 13 años hace | 0

Respondida
Generating Biased Random Number
What about y = rand; if y < .1 x = 23; elseif y < .3 x = 22 else x = randi(21); end

más de 13 años hace | 0

Respondida
Clearing Global variables... except for.
To remove the variables locally clear(globals{:}) to remove them globally clear('global', var{:}) You should also...

más de 13 años hace | 2

Respondida
how to obtain rms error
Just to be a little bit difference. If you have the DSP system toolbox you can do step(dsp.RMS('Dimension', 'all'), x) w...

más de 13 años hace | 0

Respondida
How can I get the min/max value of all fields in a stucture
Assuming the contents of the fields are well behaved ... structure_1.field_01 = rand(1, 1); structure_1.field_02 = rand(...

más de 13 años hace | 0

Respondida
How to run two different programs in matlab ?
Assuming that running a bit of program 1 followed by a bit of program 2 qualifies as simultaneously, there are a number of ways ...

más de 13 años hace | 2

Respondida
why does matlab store variables in workspace in engineering notation?
It seems very odd that MATLAB would display 6600 as 6.000e+03. I am also not able to get MATLAB to display 6.000e+03 (maybe it i...

más de 13 años hace | 1

Respondida
how to do this in a for loop in Matlab
I am not sure if this is really what you want ... First create some dummy data x = randn(160,170,18); You can create...

más de 13 años hace | 2

Respondida
Not getting the right output for my if statement? [piecewise function]
First off, I doubt your code runs since |else if| is not valid syntax. Second, I am pretty sure that |1 <= x < 2| is not doing ...

más de 13 años hace | 1

| aceptada

Respondida
Is it possible to write several statements into an anonymous function?
It is a little odd but ... f = @(x)(reshape([x(1)*cos(x(2)), zeros(1, 16), log(x(3)), zeros(1, 7)], [5, 5]));

más de 13 años hace | 1

Respondida
wald test or test of equality of means
No. While the MATLAB stats toolbox is powerful, it is not point and click powerful like EVIEWS or SPSS.

más de 13 años hace | 0

Respondida
Basic implementation of events and listeners.
You have three minor problems and one major problem. In the |addlistener| and |notify| calls you need to make |valuechange| into...

más de 13 años hace | 0

| aceptada

Respondida
Calling setter with a third argument?
You can't. The set function can only take two arguments. You cannot change the function footprint. Even if you could change the ...

más de 13 años hace | 0

Respondida
Why aren't votes correctly counted under 'My Answers'?
This is the same thing I was trying to explain in your <http://www.mathworks.com/matlabcentral/answers/49477-why-is-the-grass-gr...

más de 13 años hace | 0

Respondida
How to change the default Value of superclass property in subclass
The only other way I can think to do this is to have the superclass constructor take an CalculateMode as an optional argument. T...

más de 13 años hace | 0

Respondida
Why does num2str of a single output up to 17 digits?
There is a difference between stores and displays. format long g y = 1.234567890123456789 y = 1.234567890...

más de 13 años hace | 0

Respondida
Generate multiple random numbers in MatLab?
Not to be rude, but have you read the help? EXPRND Random arrays from exponential distribution. R = EXPRND(MU) returns ...

más de 13 años hace | 0

Respondida
[DISCONTINUED] MATLAB Answers Wish-list #2 (and bug reports)
From my understanding no standard user with less than 1500 rep can have all privileges. Some TMW employees, however, have obviou...

más de 13 años hace | 0

Respondida
Save .csv file as plain text
The question seems a little weird to me. I think of csv files are being plain text files. I also do not see the difference betwe...

más de 13 años hace | 0

Respondida
Grading MATLAB assignments automatically
I would not do this for a number of reasons. Things like response=input('Enter response: '); are going to make automation ha...

más de 13 años hace | 0

Respondida
What is the difference between using set/invoke and dot notation?
The processing is slightly different with the two methods, but in general, they tend to produce the same result. Workbook =...

más de 13 años hace | 1

Respondida
Check files in current folder (MatLab path)
You can use |dir|. Something like x = dir; any(strcmp(fname, {x(~[x.isdir]).name}));

más de 13 años hace | 2

Cargar más