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

mehr als 13 Jahre vor | 0

Frage


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

mehr als 13 Jahre vor | 0 Antworten | 0

0

Antworten

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 3

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

mehr als 13 Jahre vor | 0

Frage


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

mehr als 13 Jahre vor | 3 Antworten | 3

3

Antworten

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 1

| akzeptiert

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 1

| akzeptiert

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

mehr als 13 Jahre vor | 3

| akzeptiert

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

mehr als 13 Jahre vor | 2

Frage


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

mehr als 13 Jahre vor | 2 Antworten | 3

2

Antworten

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 2

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

mehr als 13 Jahre vor | 2

| akzeptiert

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

mehr als 13 Jahre vor | 2

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

mehr als 13 Jahre vor | 4

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

mehr als 13 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 13 Jahre vor | 1 Antwort | 2

1

Antwort

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 2

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

| akzeptiert

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 1

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

mehr als 13 Jahre vor | 0

| akzeptiert

Mehr laden