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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 2

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 2

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

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 1

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

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

Cargar más