Answered
vararout not assigned error when calling wthrmngr
Hi Phil, I don't have any trouble running the following on R2011a x = randn(1024,1); J = 1; wname = 'db2'; SWTDEC...

14 years ago | 0

| accepted

Answered
vararout not assigned error when calling wthrmngr
Hi Phil, There isn't such a priori combination that is not permitted that I can think of. Can you please cite one particular ...

14 years ago | 0

Answered
how to find a DFT of a signal
Please see fft()

14 years ago | 0

Answered
to read a instantanious amplitude
The discrete Fourier coefficient is not an instantaneous amplitude, but you can store the DFT coeffcient as a variable by simply...

14 years ago | 0

Answered
Function Octbank in Matlab
Alexander, I don't see how using fdesign.octave with an input argument 1 (for octave band) vs. 3 (for 1/3 octave band) is harder...

14 years ago | 0

Answered
sound processing, fft
Hi Priyank, I gave you advice in your other identical thread. Please give specifics, sampling frequency, frequency band of in...

14 years ago | 0

Answered
fft operation
Hi Priyank, I think you should design an appropriate filter that selects a passband and applies a gain to that passband.

14 years ago | 0

| accepted

Answered
Function Octbank in Matlab
Do you have fdesign.octave in your installation? You can design both octave and 1/3 octave filters with fdesign.octave

14 years ago | 0

Answered
PDF, PSD, Auto-covariance, Fourier spectrum - all from .wav file
Hi Tom, you can use spectrum.periodogram to obtain a PSD estimate. You can use xcorr() to obtain an estimate of the autocorrela...

14 years ago | 0

| accepted

Answered
covariance and correlation
Hi, In investigating correlation between two time series, you may want to use xcorr() to obtain the cross correlation sequence. ...

14 years ago | 0

| accepted

Answered
Anonymous function: creation
Anonymous functions were introduced in MATLAB version 7. It seems you are using version 6.

14 years ago | 0

| accepted

Answered
time-frequency
Hi Sravantej, You have to understand that there are constraints on how precise you can obtain a time-frequency analysis of a sig...

14 years ago | 0

Answered
Writing program to evaluate a polynomial at point x=c
Hi Brianne, Your problem is that in polyval(), the first element in the input a is expected to be the coefficient for the N-th p...

14 years ago | 0

Answered
Excluding data from plot.
One thing you can do is to: set(gca,'ylim',[500 3000]); I assume you are talking about the y range, if not then use '...

14 years ago | 0

| accepted

Answered
Good quality graph from Matlab to MSOffice
Try: File -> Save As and then use a bitmap Alternatively from the command line print -dbitmap You may also want t...

14 years ago | 1

Answered
i want to create a function
Have you read the Matlab Getting Started Guide? Read Scripts and Functions under Programming: Open the Matlab editor and d...

14 years ago | 0

| accepted

Answered
Not able to detect the peak for randon signal
Hi, Because you have this code at line 9: if length(v)~= length(x) But sig and sig_length are not equal in length. sig is ...

14 years ago | 0

| accepted

Answered
corrcoef maths
Hi <http://en.wikipedia.org/wiki/Pearson_product-moment_correlation_coefficient> Or look up Pearson correlation in any ba...

14 years ago | 0

| accepted

Answered
histfit (histogram and normal function)
Hi Silvia, You're correct. There are a number of ways you can assess fit. For example, you can use kstest() with a specified pr...

14 years ago | 0

| accepted

Answered
histfit (histogram and normal function)
Hi Silvia, histfit() with the 'normal' option does not use data which follows a Gaussian distribution, it uses the data you give...

14 years ago | 0

Answered
Open mat files
Do you mean other than load()?

14 years ago | 0

Answered
how to find autocorrelation for an image?
Please see the help for xcorr2

14 years ago | 0

| accepted

Answered
Warning: Polynomial is not unique
You have to reduce the degree of the polynomial you are trying to fit. You do not have enough data points for the degree polynom...

14 years ago | 2

Answered
To get a random number
You can use x = randperm(100); randomindex = x(1); Then, use that index to choose an element from the appropriate col...

14 years ago | 0

Answered
selecting unique rows
C = unique(A,'rows'); Selects the unique rows of the matrix A in sorted order. Is that what you mean?

14 years ago | 0

Answered
Toolbox
syms and int are part of the Symbolic Toolbox, not Optimization Toolbox.

14 years ago | 0

| accepted

Answered
Differentiation
syms x solve(diff(x^2)==0)

14 years ago | 1

Answered
Audio Procesing
Hi Karthik, Why can't you just use spectrogram()? You can specify the window length (the number of samples corresponding to 10 m...

14 years ago | 0

| accepted

Answered
How to apply a FIR filter?
Are you sure you want to use the window method in this case? At any rate, for the window method, the wider the main lobe, the s...

14 years ago | 0

Load more