Beantwortet
What is missing from MATLAB?
A function to check if a string clashes with an official MATLAB function. Something like Jan's UniqueFuncNames, but with support...

etwa 14 Jahre vor | 6

Beantwortet
Real Time Audio
This question has been asked and answered a number of times. <http://www.mathworks.com/matlabcentral/answers/8610-usb-sound-c...

etwa 14 Jahre vor | 0

Beantwortet
Faster way for all possible arrangements
I think the fullfact function from the stats toolbox gets you close. x = fullfact([50,50,50,50]); Although you seem to b...

etwa 14 Jahre vor | 0

Beantwortet
Is there a way to 'fold up' sections of code - like when you close up a for loop
Under preferences you can enable code folding for blocks. Blocks are defined in MATLAB as sections starting with %% (I am not su...

etwa 14 Jahre vor | 30

| akzeptiert

Beantwortet
Function (File) Name Collision Warning
I don't think you can do it robustly. Crazy things like creating a file on the fly will cause obvious problems. Less obvious pro...

etwa 14 Jahre vor | 0

Beantwortet
Sequence within a sequence
n = 5; m = 3; reshape(repmat(1:n, m, 1), n*m, 1)

etwa 14 Jahre vor | 1

Beantwortet
??? Reference to non-existent field 'matlab'.
Have you tried deleting/renaming your preferences directory?

etwa 14 Jahre vor | 0

Beantwortet
Executing two callbacks concurrently
This is a perfect situation for a timer. You can set the TasksToExecute property of the timer to 31 (the number of times you loo...

etwa 14 Jahre vor | 0

Beantwortet
Moving Average
Typically people use doc conv to do moving averages

etwa 14 Jahre vor | 0

Beantwortet
can I disable entire sections of code temporarily
You can enclose code in an if block if false ... end or even better (since you can include invalid syntax) woul...

etwa 14 Jahre vor | 8

Beantwortet
Figures into subplots
Copying into a subplot would be difficult. Technically subplots are just an axis, but figures can have children that cannot be p...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
Find easy patterns in a logic vector
It doesn't handle the edges perfectly, but you might want to start with diff(find(diff(R))) The diff( R ) is a logic vec...

etwa 14 Jahre vor | 1

| akzeptiert

Beantwortet
Pre-allocating a function since initialization is slow
What you are seeing is the reason that people suggest that you do not use clear all As long as you do not clear the cumt...

etwa 14 Jahre vor | 1

Beantwortet
Parellel computing toolbox speedup
Not all problems can be sped up with parallel processing on a single computer. MATLAB automatically utilizes all cores for a num...

etwa 14 Jahre vor | 0

Beantwortet
program timer
The timer function is exactly what you want. If it seems too complicated, start at the beginning of the MATLAB documentation and...

etwa 14 Jahre vor | 1

| akzeptiert

Beantwortet
Matab Spectrogram Colour Axis
It is probably not a color range issue. Rather, it sounds like your audio signal has a "pink" (1/f) spectrum where there is more...

etwa 14 Jahre vor | 0

Beantwortet
Is "matlab" or "matlab code" a useful tag?
I could see the "matlab" tag being useful when you only want MATLAB solutions and not ones that require you to do something at t...

etwa 14 Jahre vor | 3

Beantwortet
Help using randn and pskmod
You realize that randn(M,1,m) is not going to produce integers in the range [0, m-1]? Maybe you want doc randi

etwa 14 Jahre vor | 0

Beantwortet
saving variables in a single .mat file
In a comment to Jan you say you have 4 GB of RAM. Loading 9+ GB of data is going to bring your computer to a screeching halt. ...

etwa 14 Jahre vor | 0

Beantwortet
Image analysis does not work
_Undefined function or method 'nrm' for input arguments of type 'double'._ The program is trying to call a function called nr...

etwa 14 Jahre vor | 2

| akzeptiert

Beantwortet
Computational problem!!!
A stab here ... There is a difference between x^3 and x.^3, just like there is a difference between x.*y and x*y.

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
Searching a solution for spell check of message strings in m-files
While I don't think it is a good solution, you do not need to use the MATLAB editor for all your editing. Emacs can integrate wi...

etwa 14 Jahre vor | 0

Beantwortet
About the minimum width of GUI
I think this has more to do with your window manager (something hidden from you in Microsoft Windows). On my Linux box (KDE/KWin...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
if/elseif script problem
I would suggest you look into doc switch This might be better than lots of if/elseif/elseif... You should also look a...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
Is it possible to execute scripts, that don't end in .m ?
No, you cannot do this. You could create a link (I am not sure if symbolic or hard would be the way to go here). If it runs in M...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
try to manage a dynamic list of classinstances
The call man.AddNode(1,2) is converted behind the scenes to AddNode(man, 1, 2) which has three arguments, but A...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
minimum of two functions
At this point I don't think you have a MATLAB question ... The possible boundary edges are when f1-f2 is zero (you can find ...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
minimum of two functions
What about sign(f1-f2)

etwa 14 Jahre vor | 0

Beantwortet
counting the values and variables
What about a nice loop: S=['F' 'D' 'C' 'D' 'C';'C' 'C' 'F' 'D' 'F']; x = sort(unique(S)); fprintf('%c\t', x') ...

etwa 14 Jahre vor | 0

| akzeptiert

Beantwortet
eval is giving wrong results
I don't really understand your question and we cannot run your code ... It looks like: plot(genvarname(sprintf('MPDF_%d%...

etwa 14 Jahre vor | 0

| akzeptiert

Mehr laden