Risposto
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...

oltre 13 anni fa | 1

Risposto
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...

oltre 13 anni fa | 2

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

oltre 13 anni fa | 0

Risposto
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-...

oltre 13 anni fa | 2

| accettato

Risposto
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...

oltre 13 anni fa | 1

Risposto
[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...

oltre 13 anni fa | 0

Domanda


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

oltre 13 anni fa | 1 risposta | 1

1

risposta

Risposto
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...

oltre 13 anni fa | 0

Risposto
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.

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 2

Risposto
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...

oltre 13 anni fa | 0

Risposto
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(...

oltre 13 anni fa | 0

Risposto
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 ...

oltre 13 anni fa | 2

Risposto
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...

oltre 13 anni fa | 1

Risposto
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...

oltre 13 anni fa | 2

Risposto
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 ...

oltre 13 anni fa | 1

| accettato

Risposto
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]));

oltre 13 anni fa | 1

Risposto
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.

oltre 13 anni fa | 0

Risposto
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...

oltre 13 anni fa | 0

| accettato

Risposto
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 ...

oltre 13 anni fa | 0

Risposto
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...

oltre 13 anni fa | 0

Risposto
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...

oltre 13 anni fa | 0

Risposto
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...

oltre 13 anni fa | 0

Risposto
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 ...

oltre 13 anni fa | 0

Risposto
[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...

oltre 13 anni fa | 0

Risposto
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...

oltre 13 anni fa | 0

Risposto
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...

oltre 13 anni fa | 0

Risposto
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 =...

oltre 13 anni fa | 1

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

oltre 13 anni fa | 2

Carica altro