Beantwortet
Accessing (loaded) Data, with a known variable Variable name. How do I avoid Eval?
While there might be a work around, it is not clear that you need one. The EVAL function is not inherently evil, it is just gene...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
How can I make Variable Editor show the value of a class object derived from "double"
I have essentially answered this question <http://www.mathworks.com/matlabcentral/answers/45550#answer_55696 here> and <http://w...

mehr als 13 Jahre vor | 0

Beantwortet
Funny situations while helping others on MATLAB Answers
I found a use for the <http://www.mathworks.com/matlabcentral/answers/45673#answer_55840 ECHO> function. I am not sure if it is ...

fast 14 Jahre vor | 0

Beantwortet
Code in script is printing to command window
I can think of three ways of doing this. * Set break points to narrow down where the output occurs. This could involve a lot...

fast 14 Jahre vor | 5

Beantwortet
How to have a changing variable within a user input?
Not sure how you tried to use |num2str|, but D(:,i)= input(['Diameter of circle ', num2str(i), ' in mm: ']) works for m...

fast 14 Jahre vor | 0

Beantwortet
No text in figure
To set MATLAB back to the default you can delete your preference directory. You can find the preference directory with |prefdir|...

fast 14 Jahre vor | 0

Beantwortet
date for release of Matlab 2012b general release
About 6 months ago, the identical question about the <http://www.mathworks.com/matlabcentral/answers/30842 R2012a release date> ...

fast 14 Jahre vor | 1

Beantwortet
[DISCONTINUED] MATLAB Answers Wish-list #2 (and bug reports)
A proper set of moderator tools that allows for merging duplicate questions and moving answers to comments when appropriate.

fast 14 Jahre vor | 6

Beantwortet
Displaying a subclass of timeseries in the Variable Editor
This question is very similar to this question about using the variable editor with a <http://www.mathworks.com/matlabcentral/an...

fast 14 Jahre vor | 1

| akzeptiert

Beantwortet
Making Paper Position Variable depending on Machine
Your posted code seems to have a couple of bugs. You create |orientation| as a cell array of strings and eventually pass one of ...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
fft moving window problem
You should have a look at SPECTROGRAM.

fast 14 Jahre vor | 0

Beantwortet
How do I count the number of NaNs in a Vector?
This is a straight forward question and given you haven't shown any attempt to solve it, I am hesitant to provide an answer ... ...

fast 14 Jahre vor | 10

| akzeptiert

Beantwortet
Weird case: Loop runs faster with fprintf?
Are you sure it is running faster. I am not sure that fprintf actually prints to the screen in the middle of your loop. It may w...

fast 14 Jahre vor | 0

Beantwortet
Populate an array randomly with some constraints
I am going to give you the same answer I gave you before. The line elseif .0688<=j<=.1880 does not do what you think it ...

fast 14 Jahre vor | 0

Beantwortet
how to hide the password in edit box in matlab
See this answer: http://www.mathworks.com/matlabcentral/answers/20400-encryption-of-password

fast 14 Jahre vor | 0

Beantwortet
Adding a constraint to my if else if statement.
This has been said many times before on this site: 0<=k<=.0063 does not do what you think it does. For all |k| greater t...

fast 14 Jahre vor | 0

Beantwortet
Question about 'lognrnd' function
Why not just test it: R = lognrnd(0, 8, 1e6, 1); std(R) ans = 1.8915e+13 std(log(R)) ans = 7.9976

fast 14 Jahre vor | 1

Beantwortet
Copy numbers vector to vector
You need to read the documentation. This is really a simple problem and your code is close. v1 = randn(1, 255); % We nee...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
[DEPRECATED] What frustrates you about MATLAB?
The number of MATLAB users using old versions who cannot cope with code written for new versions frustrates me. It would be easi...

fast 14 Jahre vor | 0

Beantwortet
How to use the not sign on the mac version of matlab
You can replace the ~ with dummy, but see <http://www.mathworks.com/matlabcentral/answers/37858#answer_47216 my answer> about pr...

fast 14 Jahre vor | 0

Beantwortet
problem with matlab 2009
the |~| to ignore output arguments is a <http://www.mathworks.com/matlabcentral/answers/45168#answer_55315 relatively new additi...

fast 14 Jahre vor | 0

Beantwortet
Olympic puzzle number one
Somewhat surprisingly the CLEARVARS function is not a solution and gives an unhelpful error message. I think the failure probabl...

fast 14 Jahre vor | 1

Beantwortet
Olympic puzzle number one
Missing from the obvious solutions are: clear = str2func('clear'); clear(); and feval('clear');

fast 14 Jahre vor | 3

Beantwortet
function overloading problem in matlab
It is not clear what you are trying to do. I think you might be looking for ways to define a function with a variable number of ...

fast 14 Jahre vor | 1

Frage


Properties of the plot marker shapes
In answering this <http://www.mathworks.com/matlabcentral/answers/44917-how-is-the-markersize-of-a-circle-marker-defined questio...

fast 14 Jahre vor | 0 Antworten | 2

0

Antworten

Beantwortet
A simple question about undefined function error
There are so many things wrong with your function that fixing the error you are getting is going to be of little value. If you a...

fast 14 Jahre vor | 1

| akzeptiert

Beantwortet
How is the MarkerSize of a 'Circle' marker defined
The circle marker size appears to be the number of points in the diameter. For the other markers, it is not so clear. You can cr...

fast 14 Jahre vor | 6

| akzeptiert

Beantwortet
producing colored letters in an if statement
You can do this with Yair's <http://www.mathworks.com/matlabcentral/fileexchange/24093 FEX:cprintf>. Once you download and insta...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
Any idea why all([]) is true while any([]) is false
This <http://blogs.mathworks.com/loren/2009/11/12/empty-arrays-with-flow-of-control-and-logical-operators/ post> by Loren lead t...

fast 14 Jahre vor | 0

| akzeptiert

Beantwortet
How and why Matlab defines maximal values for gcf's position (width and height)? It looks like these values are screen resolution dependent ...
Instead of using units of pixels, use normalized units. This way you do not have to worry about making figures larger than the s...

fast 14 Jahre vor | 0

Mehr laden