Answered
how to find the bandwidth of a signal
For all but the simplest cases the term bandwidth is ambiguous. You probably want to look at the long-time Fourier transform ins...

14 years ago | 0

| accepted

Answered
Matlab is unable to detect the sampling frequency of Audio Interface
One of the points of playrec, and other port audio interfaces, is to bypass the Microsoft Windows mixer. You need to set the sam...

14 years ago | 0

Answered
Find files of specific class
I don't think you can. You might be able to recursively check all the files and @ directories on the path for files with the fir...

14 years ago | 0

Answered
Color 2D plot according to external vector
Something like this might work: Create some dummy data: x = sort(randn(1, 501)); y = randn(10, 501)+repmat(5*(1:10)', 1, 5...

14 years ago | 0

Answered
error-Unbalanced or unexpected parenthesis or bracket.
The command imwrite((gsq, []),strtemp)) has 2 opening and 3 closing parenthesis. The MATLAB editor picks up on these thi...

14 years ago | 0

Answered
how to create a anlaytic signal from real signal
Despites its silly name ( <http://www.mathworks.com/matlabcentral/answers/3134-hilbert-transform> ), the hilbert function return...

14 years ago | 0

| accepted

Answered
faster "log10" command
You may want to look at doc db2mag doc mag2db doc pow2db doc db2pow they are not going to speed up your code, b...

14 years ago | 2

Answered
put a program on standby
You might be better off an OS level scheduler (for example cron in Linux and task scheduler in Windows). You can have the OS sch...

14 years ago | 0

| accepted

Answered
How to add LED in GUI?
It seems the key part of the question (based on a comment to my previous answer) is to get the "LED", which I think is being imp...

14 years ago | 0

Answered
Plot and compare probability distribution (3 Dimension) in matlab
Do you mean your probability distributions depend on 3 dimensions (x,y,z) or two dimensions (x,y) with the probability being the...

14 years ago | 0

Answered
Don't work the UI Table at Distribution Program by compiler. (exe file)
Does the program and gui use callbacks which are strings, as opposed to function handles? It is possible that you compiler misse...

14 years ago | 0

Answered
GUI Matlab
I would add: <http://undocumentedmatlab.com/blog/tab-panels-uitab-and-relatives/> I think Yair's solution is much better l...

14 years ago | 0

Answered
Plot of Probability Density function in MATLAB
The pdf function can handle binomial, Poisson, and discrete uniform distributions, so not all of them are continuous. Also ar...

14 years ago | 0

Answered
Creation of a continuos timebase
x = 1:N where N is the number of measurement you have???

14 years ago | 0

Answered
faster "log10" command
I am guessing you are not preallocating ... Does you code look something like: x = randn(1e7,1); for ii = 1:length(x)...

14 years ago | 2

Answered
class folder problem
Is ### the class of the folder in which the method is located? If not you need to define the method as a static method in the cl...

14 years ago | 0

Answered
Sound output/aquisition stops without an error (handles problem?)
There is a pretty long and variable behind the scenes management of sound hardware in MATLAB. It can take a few hunderd millisco...

14 years ago | 1

| accepted

Answered
saving an subplotted image
This has been asked before: <http://www.mathworks.co.uk/matlabcentral/answers/12111-printing-axes> You can use export_fig from ...

14 years ago | 0

Answered
How to add LED in GUI?
Are you okay with square "LEDs" that don't flicker at all and are really uniform? You can make a text box and set its background...

14 years ago | 0

Answered
Generating a string of random standard normal variables that are correlated
I am not sure if this is homework or not ... Start off with two independent random variables with zero mean and standard devi...

14 years ago | 0

| accepted

Answered
Multithreaded FILTER?
I believe that some functions require large enough sizes (and possibly lengths equal to powers of 2) before they can benefit fro...

14 years ago | 0

Answered
find matching indexes
I think you want something like [x, ia, ib] = intersect(A, B(:, 2:end), 'rows'); B(1, ib)

14 years ago | 0

Answered
'pause' not working properly
The sound and soundsc functions return immediately. Therefore you need a longer pause. pause(5+length(x)/SR)

14 years ago | 0

| accepted

Answered
calling method (and sum'ing answer) on every class instance in a matrix
Welcome to the joys of MATLAB OOP. While TMW will tell you that the array nature of the OOP system is a real plus, I find it a r...

14 years ago | 0

Answered
Handling multi figures.
Assuming that each figure has only a single axis and figureN refers to the handle of the figure, you could do something like ...

14 years ago | 1

Answered
what does the meaning of this?
It is basically: t = t+1 for t < 1 t = t otherwise A clear way to write it might be t(t < 1) = t(t < 1)+1;

14 years ago | 1

| accepted

Answered
Use MATLAB Screen as DOS Prompt
I think you want to start MATLAB with the -nodesktop option. matlab -nodesktop

14 years ago | 0

Answered
getting sum of class properties from a matrix
You should be able to do: sum([myCollection.fileCount]) and sum([myCollection.fileCount] == 0) Note the [].

14 years ago | 0

| accepted

Answered
Rotating xtick labels on 2nd xaxis
In general, when asking questions you need to supply more than it doesn't work. What did you get and what did you expect to get....

14 years ago | 0

Answered
Where to store my pathdef.m
The procedure is detailed here: <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/savepath.html> Basically setup ...

14 years ago | 0

Load more