Answered
error processing wavelet3ddemo from help menu
That's because they used a colormap. You don't have to use the colormap. You can use a gray scale colormap. If you load the w...

14 years ago | 0

Answered
Speaker verification
Hi, this code appears to be just reading the data from the .wav file for a particular speaker Speaker_name=Au_dir(i).name; ...

14 years ago | 0

Answered
Looping Through and Writing into Matrix
Hi, you have a couple options. spectrogram() will do what you want if you choose the window length correctly and set the NOVERLA...

14 years ago | 0

| accepted

Answered
toolbox fft
Yes, the Signal Processing Toolbox has sptool. You can launch the spectrum viewer from there and perform both nonparametric and ...

14 years ago | 0

| accepted

Answered
How to draw line vertical to Y-axis?
a = [1 2 3 4 5 6 7]; b = [1 4 7 10 7 4 1]; plot(a,b) hold on plot(a,4*ones(length(b)),'r'); plot(a,7*ones(length(b)...

14 years ago | 0

Answered
Digital filters
Where do you actually have the ellipsis, is it at a line break? d = fdesign.lowpass; Hd = design(d,'allfir'); H = d...

14 years ago | 0

| accepted

Answered
Smith Normal Form
Have you seen this submission on the file exchange: <http://www.mathworks.com/matlabcentral/fileexchange/15247-smith-form-of-...

14 years ago | 0

Answered
errorbar on barplot of matrix of values
Hi, y = mean(data); errors = std(data); x = 1:size(data,2); bar(x, y) hold on; h = errorbar(x, y, error...

14 years ago | 0

Answered
signal denoising using wavelet transform
See the help for wden() to implement denoising using the orthogonal discrete wavelet transform. See the help for spectrum.per...

14 years ago | 0

| accepted

Answered
PSD units conversion
You get V^2 by removing 10*log10(), not V. What do you mean by V/rootHz?

14 years ago | 0

| accepted

Answered
PSD question
Hi, below I provide an example using just the DFT and then applying the proper scaling and the spectrum.periodogram object, so y...

14 years ago | 0

Answered
PSD question
Yes, it is dB/Hz. psdest.Data are the power estimate, proportional to magnitude-squared of the DFT. So 10*log10() is in dB

14 years ago | 0

| accepted

Answered
fft with frequency axis on log scale
Hi, You can just save the output of psd() and use semilogx fs=2000; Hs=spectrum.periodogram; % Use default values psdes...

14 years ago | 0

| accepted

Answered
How to see freq response of a wave file
Again, if it's a signal and not a system, we don't say frequency response, but you can just use fft(). That gives you the DFT of...

14 years ago | 3

| accepted

Answered
Does freqz give the Fourier Transform ??
You're right. It's just a matter of terminology. We don't say the frequency response of a signal, we say the frequency response ...

14 years ago | 0

| accepted

Answered
how to do wavwrite on this mat file
fieldnames() returns a cell array. So f = fieldnames(x); is returning the fieldnames of x in the cell array f x.(f{1}) ...

14 years ago | 0

| accepted

Answered
I am getting error when i try to listen mat file
Hi Moonman, what is x? >>whos x If it is a structure, then feed soundsc() the appropriate field soundsc(x.data,8000) ...

14 years ago | 0

| accepted

Answered
regarding image processing tool box
The Image Processing Toolbox Getting Started Guide is a good place to start, also look at the demos included in the toolbox. St...

14 years ago | 1

| accepted

Answered
sliding window in a vector
Hi, I'm not certain exactly what you asking for here. It seems to me you want to advance the columns by 1 and replace the first ...

14 years ago | 0

Answered
Remove group delay from an impulse response
Hi, you can use fdesign.arbgrpdelay to create an allpass, arbitrary group delay filter, but... how do you know what part of the ...

14 years ago | 0

Answered
discrete fourier transform
Fs=1000; t=0:1/Fs:.3; x=cos(2*pi*t*200)+randn(size(t)); Hs=spectrum.periodogram; % Use default values plot(psd(Hs,...

14 years ago | 0

Answered
Axis labelling in MATLAB plot
plot(randn(100,1)); xlabel('\bf{Pr},\bf{\it{m}}');

14 years ago | 0

Answered
I have written the equations to Proving Parseval's Relation but are giving me different answers Can you help?
Why not just use: x = randn(1e3,1); norm(x) xdft = fft(x); norm(xdft./sqrt(length(x)))

14 years ago | 0

Answered
.coe file in matlab
http://www.mathworks.com/help/toolbox/dsp/ref/coewrite.html That functionality is part of the DSP System Toolbox

14 years ago | 0

Answered
How to compress an image with different strength in jpg compression
Use imwrite() with 'Compression' set to 'jpeg' and 'Quality', a number between 0 and 100. Note there are other options for jpeg...

14 years ago | 2

| accepted

Answered
Plotting X Y Z
Hi, I think you might want: ezmesh('16/9*x.^2+4*y.^2-16')

14 years ago | 0

Answered
Formation of beampattern
The Phased Array System Toolbox enables you to model arrays both during transmit and receive. <http://www.mathworks.com/produ...

14 years ago | 0

Answered
Indent a block of code
In the MATLAB editor, you should automatically get identation of an if statement. Other than that, highlight the text and do...

14 years ago | 0

| accepted

Answered
quick question about writing functions
That should happen automatically for your function. Does it not? for function [output1,output2] = myfunc(x,y) If you ent...

14 years ago | 0

Answered
query regarding n in the equation
L here is the length of the impulse response. n is the term in the sequence. The order of the filter is the length-1. That is be...

14 years ago | 0

| accepted

Load more