Answered
How to find most occuring element in a matrix???
A = [1 2 3 7 2 3 4 6 4 3 5 6]; [M,F] = mode(A(:)); M is the mode, the ...

14 years ago | 3

| accepted

Answered
Warning: Imaginary parts of complex X and/or Y arguments ignored
What do you think you only have the real part? kab=3; kba=3; gp=0.0:0.0001:1.25; gn=0.0:0.0001:1.25; Delta...

14 years ago | 0

Answered
how do you make an array with letters
Use char() with the ascii codes char(65:70) You may have to be aware of the locale settings though: <http://www.math...

14 years ago | 2

Answered
how to export graph from dfittool to excel please?
If you want to save the figure, then do File -> Print to Figure Once the Figure appears, Do File -> Save As and ch...

14 years ago | 0

Answered
How to get FFT of a siganl accurately?
As Walter suggests, if your signal length is such that the Fourier frequencies correspond with the frequencies you are looking f...

14 years ago | 1

| accepted

Answered
ignore values in matrix
One way is to just use logical indexing. X = [623.0000 580.0000 531.8571 482.9231 435.8704 388.7843 342.3571 296.563...

14 years ago | 0

Answered
citing a MATLAB document
The actual form would depend on which bibliographic format you are following but: MathWorks, (2012). _Bioinformatics Toolbox:...

14 years ago | 1

Answered
How do I count cycles of a periodic signal that contains noise?
In R2012a, the Signal Processing Toolbox has functions specifically for the type of waveform you show: see pulseperiod, pulsesep...

14 years ago | 0

Answered
how can i design an FIR filter using matlab which can filter a range of frequencies from 20 Hz to 70 Hz. by generated a signal which contain frequencies of 10 Hz, 30 Hz, 50 Hz and 90 Hz
There are many ways in MATLAB to design an FIR filter using the Signal Processing Toolbox. A key piece of information you neglec...

14 years ago | 0

Answered
How to create power spectral density from fft (fourier transform)
The 1/L comes from the fact that you are using a "biased" estimate of the autocorrelation function to produce the PSD estimate. ...

14 years ago | 0

| accepted

Answered
inverse CWT using coif4
Hi Zozo, I'll give you a couple examples where you reconstruct an approximation to a time-localized 100 Hz component. But fi...

14 years ago | 0

| accepted

Answered
How can i write the frequency vector for frequency range 5-400 hz using 50 frequncy points
Hi Lisa, you cannot have 50 frequencies in 30 elements. Obviously whatever Q is here (is it a power spectral density estimate?) ...

14 years ago | 0

| accepted

Answered
How to create power spectral density from fft (fourier transform)
The periodogram is: Fs = 500; % Sampling frequency T = 1/Fs; % Sample time L = 4000; % Length of signal t = (0:...

14 years ago | 1

Answered
inverse CWT using coif4
You want to use icwtlin, icwtlin supports the 'coif4' wavelet.

14 years ago | 0

Answered
how to plot user defined pdf
Well one problem you have is that you don't define i anywhere. Since i by default is the unit imaginary, you should probably use...

14 years ago | 0

Answered
How to tell if two signals are similar
The correlation coefficient is bounded by 1 in absolute value. (Normalized) correlation values always lie between -1 and 1. At e...

14 years ago | 0

Answered
Trying to decide which toolbox to purchase
I certainly like both toolboxes and both have good features, but from the description you give, it sounds to me like Image Proce...

14 years ago | 0

Answered
cutoff value for data
That is application specific. Often you have a priori information about the frequency range that you are interested in. For exam...

14 years ago | 0

Answered
Why the sums of cos(x) over 2*pi range not zero?
I don't think you can say that simply summing cos(t) on an arbitrary grid should be zero. You have to be careful how the grid is...

14 years ago | 0

Answered
Generation of Gaussian Process
What about mvnrnd in the Statistics Toolbox?

14 years ago | 0

Answered
Why the sums of cos(x) over 2*pi range not zero?
If you're trying to establish some equivalence between the integral of cos(t) from -pi and pi and the sum of cos(t), you're forg...

14 years ago | 0

Answered
why square() cannot work with cftool
In R2012, There are a number of new measurement functions in Signal Processing Toolbox. Among them are several applicable to pul...

14 years ago | 0

Answered
Documentation of 'spectrum' function from Matlab 5.x releases?
This actually produces 8 outputs P = spectrum(signal1,signal2,NFFT); In other words, P is a Nx8 matrix. The first column i...

14 years ago | 0

| accepted

Answered
help on fitting a curve
Do you have the curve fitting toolbox? If so, cftool has a Gaussian option built in. Or from the command line: x = (...

14 years ago | 0

Answered
helppp on finding maximum
Hi Leah, if you have the Signal Processing Toolbox, have you tried findpeaks()? You can set options like the minimum distance...

14 years ago | 0

Answered
How to plot this, please help
Just substitute your data for x. What is your data named? Supposed it is mydata plot(t,mydata) You have to realize I do...

14 years ago | 0

Answered
How to plot this, please help
You mean just: dt = 45.764e-3; t = 0:dt:(26243*dt)-dt; x = randn(26243,1); plot(t,x)

14 years ago | 0

Answered
Cut a continuous signal into frames
I'm guessing by your description, 400000 samples in 20 minutes that your sampling interval is 3 msec. So I'll use that value whi...

14 years ago | 2

| accepted

Answered
how can i plot a sine wave which is 5*sin(2*pi*50*t) for 20 seconds and 5*sin(2*pi*55*t) for next 30 seconds and again repeating 5*sin (2*pi*50*t)
Your title has something very different from your actual post, so I'm not sure what you actually want. And following your post, ...

14 years ago | 0

| accepted

Answered
Does anyone know books/resources available to begin learning how to use MatLab to create visual perception experiments?
Hi Larissa, you may want to look at this free MATLAB toolbox <http://psychtoolbox.org/HomePage>

14 years ago | 1

| accepted

Load more