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

13 years ago | 1

| accepted

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 5

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 1

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

13 years ago | 6

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

13 years ago | 1

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 10

| accepted

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

Answered
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

13 years ago | 1

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 1

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

13 years ago | 3

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

13 years ago | 1

Question


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

13 years ago | 0 answers | 2

0

answers

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

13 years ago | 1

| accepted

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

13 years ago | 6

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

Load more