Respondida
Functional form of the colon (:) operator?
I thought that |squeeze| would do what you want, but apparently it doesn't "work" on row vectors. What would be nice is if |sque...

más de 13 años hace | 0

Pregunta


Toolboxes and MATLAB "lanaguage"
It seems like people wanted more changes to the MATLAB "language" than we saw in the release of R2012b. It is not clear to me wh...

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

0

respuestas

Respondida
Inability to clear object definition - nonfunctional "clear classes"
I think that the <http://www.mathworks.com/help/matlab/matlab_oop/modifying-and-reloading-classes.html list> that Honglei provid...

más de 13 años hace | 0

Respondida
Experiences with release 2012b
I will preface my answer with I haven't tried 2012b yet, but I have read the release notes and some reviews. The disappointment ...

más de 13 años hace | 3

Respondida
Running matlab from linux platform with openGL
First, it seems odd that you need to switch to software rendering. You should contact technical support so that they can look in...

más de 13 años hace | 0

Pregunta


Date for release of Matlab R2013a
Following on from this question about the release date of <http://www.mathworks.com/matlabcentral/answers/45575-date-for-release...

más de 13 años hace | 3 respuestas | 3

3

respuestas

Respondida
Timer object initiating function over extended period of time using too much CPU memory
If h.number ever exceeds 100000, and it looks like it might since you do the following check if h.number<99950 Then you ...

más de 13 años hace | 0

Respondida
save figure in a certain size
You will probably want to use <http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig FEX:export_fig>. Assuming you...

más de 13 años hace | 1

| aceptada

Respondida
How do I specify that I wish to count the number of vowels in a text document in MatLab?
Assuming you have some text saved in a char array called x length(regexpi(x, 'a|e|i|o|u'))

más de 13 años hace | 0

Respondida
MATLAB's JIT Engine
I am not sure it is possible to separate the MATLAB JIT accelerator from the rest of MATLAB. MATLAB is fast enough for most of w...

más de 13 años hace | 0

Respondida
How can I get the correct font spacing in .eps graphics using latex interpreter?
I don't know why it happens. In general MATLAB doesn't support figures and LaTeX very well. You can try <http://www.mathworks.co...

más de 13 años hace | 0

Respondida
retrieve mat-file version
You can use evalc to capture the output of type function tf = getmatv(fname) x = evalc(['type(''', fname, ''')']); ...

más de 13 años hace | 1

| aceptada

Respondida
Help using old version of Matlab Student
This is <http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F FAQ 6.1> wrapped up in a ...

más de 13 años hace | 3

| aceptada

Respondida
Is this a Possible MATLAB bug? (Further strange Behavior)
I think this is a bug, but your MWE muddies the water. The bug has nothing to do with |ans| being used as an output. The best se...

más de 13 años hace | 2

Pregunta


Avoiding eval when overloading a function
I used |eval| in this <http://www.mathworks.com/matlabcentral/answers/30811#answer_57358 answer> where I was trying to overload ...

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

2

respuestas

Respondida
array operations consuming lower time
On my computer I can do a little better with conv... >> x = randn(1e7, 1); >> tic, y1y2 = x(2:end)+x(1:(end-1)); toc ...

más de 13 años hace | 1

Respondida
Display Text Without Formatting
*Can anyone eliminate the use of eval?* In a comment to my other answer, Jonathan said "I would rather have BOTH: (1) a displ...

más de 13 años hace | 2

Respondida
Is there something like a 'struct pointer' in Matlab?
I disagree with Walter and think MATLAB does provide this functionality in the OO HANDLE superclass. You can create a handle str...

más de 13 años hace | 2

| aceptada

Respondida
regexprep with multiple expression
Is this what you want? ttxt = 'hello parish world borough foo census area bar'; regexprep(ttxt, ' parish| borough| censu...

más de 13 años hace | 2

Respondida
Using i and j as variables
_Did you ever run into problems by using i as a variable_: Yes, that is how I learned not to use it as a counter. _Do you kno...

más de 13 años hace | 4

Respondida
Vectorize 3 for loops
*Loops are no longer painfully slow in MATLAB and haven't been for quite some time.* A better question would be how can I speed ...

más de 13 años hace | 0

| aceptada

Pregunta


Data types and preallocation
Apart from historical reasons, is there a good reason that the default data type is double. It seems like memory allocation coul...

más de 13 años hace | 1 respuesta | 2

1

respuesta

Respondida
Loren's blog: Best programming practice
In relation to Answers, I find Loren's blog to be the most helpful. Of all the blogs, I link to her most often when I am answeri...

más de 13 años hace | 0

Respondida
[DISCONTINUED] MATLAB Answers Wish-list #2 (and bug reports)
That someone for TMW would chime in about the Wish list format (with or without the standard disclaimers about personal opinions...

más de 13 años hace | 2

Respondida
Why is this function used to generate white gaussian noise
One of the neat properties of Gaussian noise is that the real and imaginary components of the Fourier transform of a Gaussian no...

más de 13 años hace | 0

Respondida
audioplayer/isplaying won't exit tight loop
I believe AUDIOPLAYER underwent a poorly, possibly undocumented, change at some point. The AUDIOPLAYER object now makes use of a...

más de 13 años hace | 0

| aceptada

Respondida
Convert old matlab files to run on new MatLab version
How old is the old version of MATLAB? There are a handful for functions that have been depreciated or radically altered that you...

más de 13 años hace | 0

Respondida
how to find the indices of the numbers in an vector WITHOUT using loops and find function?
Despite thinking this is a homework assignment, I sometimes like to solve problems with silly constraints. Taking up Jan's chall...

más de 13 años hace | 0

Respondida
How can I use copyfile within a zip file?
While not an answer directly these questions might be relevant: http://www.mathworks.com/matlabcentral/answers/10945 http:...

más de 13 años hace | 1

Respondida
How to control cutepdf software from matlab?
I stick by my flag that this isn't a MATLAB question.... With pdftk you can <http://www.pdflabs.com/docs/pdftk-cli-examples/ ...

más de 13 años hace | 0

| aceptada

Cargar más