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

13 years ago | 0

Question


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

13 years ago | 0 answers | 0

0

answers

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

13 years ago | 0

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

13 years ago | 3

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

13 years ago | 0

Question


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

13 years ago | 3 answers | 3

3

answers

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

13 years ago | 0

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

13 years ago | 1

| accepted

Answered
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'))

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 1

| accepted

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

13 years ago | 3

| accepted

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

13 years ago | 2

Question


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

13 years ago | 2 answers | 3

2

answers

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

13 years ago | 1

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

13 years ago | 2

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

13 years ago | 2

| accepted

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

13 years ago | 2

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

13 years ago | 4

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

13 years ago | 0

| accepted

Question


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

13 years ago | 1 answer | 2

1

answer

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

13 years ago | 0

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

13 years ago | 2

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

13 years ago | 0

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 1

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

13 years ago | 0

| accepted

Load more