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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 2

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 2

| akzeptiert

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 0

Frage


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

mehr als 13 Jahre vor | 1 Antwort | 1

1

Antwort

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 2

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 2

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 2

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

mehr als 13 Jahre vor | 1

| akzeptiert

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 2

Mehr laden