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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 5

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 1

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

más de 13 años hace | 6

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 10

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

Respondida
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

más de 13 años hace | 1

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 1

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

más de 13 años hace | 3

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

más de 13 años hace | 1

Pregunta


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

más de 13 años hace | 0 respuestas | 2

0

respuestas

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 6

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

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

casi 14 años hace | 0

Cargar más