Answered
Need help for DTMF Scoring fucntion
Can't you do something like this function tones = dtmfseg lfg = [697 770 852 941]; % Low frequency group hfg = [1...

15 years ago | 0

Answered
Finding Peaks
I agree with Sean. mspeaks implements some wavelet denoising, but perhaps you would be better to experiment with wden() firs...

15 years ago | 0

Answered
help with label
Have you copied in pasted your code from some Windows application where ' is not the single quote that MATLAB expects? t = 0...

15 years ago | 1

Answered
Need help for DTMF Scoring fucntion
I'm assuming xx is the output of your other function as you have stated. It of course doesn't have to be called xx, xx is ju...

15 years ago | 0

Answered
How To Run a SAS Command Via Matlab?
Hi Mohammad, you may be interested in this from the file exchange: <http://www.mathworks.com/matlabcentral/fileexchange/13069...

15 years ago | 0

Answered
how to make frequency vs. time figure in wavelet decomposition?
Hi Shinchin, A couple things. In your call to detcoef(), it is better to use. dcell = detcoef(C,L,'cells'); to get al...

15 years ago | 0

| accepted

Answered
Transfer function with symbol
s = tf('s'); Creates an object of class tf. tf() is not an overloaded method in the Symbolic Toolbox. Define your K as a...

15 years ago | 0

Answered
Need help for selectivity of filters based on filter length
Selectivity is referring to the width of the passband here. Notice where your filter magnitude goes to zero for L=10 vs. L=100. ...

15 years ago | 0

| accepted

Answered
Pole Zero plot is giving wrong plot
Hi, The poles are all on the imaginary axis, look at the scale of your real axis, it is 10^{-16} If you enter: [p,z] = ...

15 years ago | 0

| accepted

Answered
FFT Spectrum or Welch Spectrum
The periodogram does not have to use next power of 2. Look at my example, I specified the length to be the length of the input v...

15 years ago | 0

Answered
FFT Spectrum or Welch Spectrum
Hi, Are you attempting to say that you wrote your own Welch overlapped segment averaging routine? The WOSA estimator is an estim...

15 years ago | 0

| accepted

Answered
Cross Correlation
velocity with a shifted velocity will definitely work with xcorr. Since acceleration is the derivative of velocity, if you have ...

15 years ago | 0

Answered
matrix - change columns randomly
A random shuffling of the columns of A. One way: cols = size(A,2); P = randperm(cols); B = A(:,P);

15 years ago | 1

Answered
Cross Correlation
xcorr computes the cross correlation sequence which is attained by shifting one sequence with respect to the other, complex conj...

15 years ago | 0

| accepted

Answered
add values to one value
H = cat(1,D,E,F,G);

15 years ago | 0

Answered
Function Output?
Do you want something like this: function res = test(c) if c>=0 res=1; else error...

15 years ago | 0

Answered
how to display newline
Hi, '\n' by itself outside of special calls is just interpreted as the string (character array) \n It's not just in fprintf()...

15 years ago | 6

| accepted

Answered
Setting plot zoom mode?
You can set the behavior through the zoom command. See the help. For example, to zoom just in the horizontal direction. pl...

15 years ago | 2

| accepted

Answered
Combining two strings
plot(randn(100,1)); filename = 'channel1.txt'; Rx = 'Rx 1'; legend([Rx filename]); % or legend(strcat(Rx,file...

15 years ago | 0

| accepted

Answered
isletter true false
I don't see isletter() in what you've posted. I see an if statement based on the output of menu() The menu() call you show ou...

15 years ago | 0

Answered
2D histogram and/or 2D Kernel Density
Are you sure you don't mean you want a 3-d histogram of a bivariate random variable, x and y? A histogram of one random variable...

15 years ago | 0

| accepted

Answered
viewing spectrum of an audio signal in matlab
Read it in with wavread() [signal,fs] = wavread('file.wav'); If signal is Nx2 (two columns), extract one of them si...

15 years ago | 3

| accepted

Answered
dct (8*8)
If you have the Image Processing Toolbox. X = randn(100,100); fun = @(block_struct) dct2(block_struct.data); Y = bloc...

15 years ago | 1

| accepted

Answered
Does anyone have a matlab code for behavioral identificaion experiment using 2 interval alternate forced choice procedure
There are publicly available MATLAB toolboxes for psychophysics research (one example): <http://psychtoolbox.org/HomePage> ...

15 years ago | 0

Answered
F-test for the equality of means
You can use anova1() to compare the means of two or more groups. That function returns the F statistic in the optional anovat...

15 years ago | 0

| accepted

Answered
Line series marker question
Yes, plot([0 1],[0 1],'b-*'); hold on; plot([0 1],[0 1],'r-.^'); axis([-0.5 1.5 -0.5 1.5]); % or clf ...

15 years ago | 0

Answered
Power Set
How many items are you trying to do this for? This can get computationally expensive very fast. But combnk might help you. ...

15 years ago | 0

Answered
To create co-ordinate systems.
The Phased Array System Toolbox has a number of utilities for defining global and local coordinate systems and converting betwee...

15 years ago | 0

Answered
How to Identify moving objects from a video
You may be interested in the "Tracking Cars Using Gaussian Mixture Models" demo in the Computer Vision Toolbox. The relevant ...

15 years ago | 0

Answered
FFT of row and column vectors not equal?
You have to use .' (dot transpose) If you use the tranpose operator on a complex-valued vector, matrix in MATLAB, it returns th...

15 years ago | 1

| accepted

Load more