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

más de 14 años hace | 6

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 30

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 1

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 8

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 1

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

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 3

Respondida
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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 2

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

Cargar más