Answered
Histogram?
Are you trying this on a RGB (3D) image? or is it uint8 gray scale? Do you have the Image Processing Toolbox? I = imread...

14 years ago | 0

Answered
will processing a fragment of a wave file result in artifacts in the frequency domain?
Again, these vectors are not equal so the DFT will not be equal. The length of the two DFTs are not equal f1=[1 2 3 4 5] ...

14 years ago | 0

| accepted

Answered
will processing a fragment of a wave file result in artifacts in the frequency domain?
The DFT (implemented by fft()) is an invertible operator, which means it is 1 to 1. Even though you are just considering the abs...

14 years ago | 0

Answered
will processing a fragment of a wave file result in artifacts in the frequency domain?
You will be ok. The main issue that you will have is frequency resolution. By reducing your signal size from 1000 down to 300 sa...

14 years ago | 0

Answered
yule walker psd
The k1 are the power estimates as a function of frequency. If you enter 10*log10(k1) You will see that those values ag...

14 years ago | 0

| accepted

Answered
3-D matrices
R = randn(10,200,100); for nn = 1:100 Rxx(:,:,nn) = R(:,:,nn)*R(:,:,nn)'; end If R has complex elements, the...

14 years ago | 0

Answered
embedding MATLAB into C++ and vice versa
Have you looked at the MATLAB documentation for this? For example: <http://www.mathworks.com/help/techdoc/matlab_external/...

14 years ago | 0

Answered
Attempt to execute SCRIPT varargin as a function
This code says if you specify additional inputs beside the mandatory two, then assign the first to the "a" field of the structur...

14 years ago | 0

Answered
Attempt to execute SCRIPT varargin as a function
Inside the program you have to define what is acceptable for the varargin, or you have to use with with other MATLAB functions t...

14 years ago | 0

Answered
Attempt to execute SCRIPT varargin as a function
You want to actually pass input arguments, not use varagin as an input argument. varargin.m The person has written that func...

14 years ago | 0

Answered
FIR filter
I have no idea what you have declared for w1, w2, and no, but I'll assume those are correct. w2 = c+(w/2); w1 = c-(w/2...

14 years ago | 0

| accepted

Answered
normcdf error
Are you attempting to input a complex number into normcdf? erfc() only accepts real-valued input arguments. If you are not, p...

14 years ago | 0

Answered
Computer Vision System Toolbox regarding
detectSURFfeatures was introduced in R2011b. You should contact MathWorks for licensing of the Computer Vision System Toolbox. ...

14 years ago | 0

Answered
Bandpass filter from 3000 to 4000 Mhz
I'm confused by your post, which talks about MHz (megahertz), but then you cite your sampling frequency as 8000 Hz.... At any ra...

14 years ago | 0

Answered
Struggling newbie - Iterate over a 20000X2 array, then do math and create new array
One of many ways: %just creating some data because I do not have your data X = randi([-262143 262143],2e4,2); % su...

14 years ago | 0

Answered
Voice
If the stereo voice file is Nx2, then just extract 1 column X = randn(2e4,2); Y = X(:,1);

14 years ago | 0

Answered
Extending a sine regression to forecast
n = (0:500)'; % create some fake data x = 1.5*cos(2*pi*(1/4)*n)+randn(size(n)); X = ones(501,3); X(:,2) = cos...

14 years ago | 0

| accepted

Answered
signal processing, fft, adding two cosine waves
Then the magnitude will be 40 in this case if the frequencies and phases are the same. And there is no way to extract the 10 and...

14 years ago | 0

| accepted

Answered
Extending a sine regression to forecast
Once you have the parameters, which are the amplitudes of the cosines and sines, then you can easily extend your model to make p...

14 years ago | 0

Answered
Where to buy Student Version of Matlab with 99 dollar
<http://www.mathworks.com/academia/student_version/>

14 years ago | 0

Answered
signal processing, fft, adding two cosine waves
The main thing will be figuring out the DFT bin that the frequency of interest falls on. The frequencies are spaced at Fs/N wher...

14 years ago | 0

Answered
use for loop
Please format your code and show your erros. What are you trying to do with your loop, just display slices of your image set? ...

14 years ago | 0

Answered
Ask about final result in emd.m
Well, I don't know this specific application but I can tell you what the outputs of linprog() mean in general. linprog() mini...

14 years ago | 0

Answered
How to plot data inside a for loop?
A simple way: n = 0:199; for nn = 1:length(n) plot(cos(pi/4*(n(1:nn)))); axis([1 100 -1 1]); pause(0....

14 years ago | 0

Answered
Text properties
figure text(0.4,0.5,'\rm{File} \it{filename} \rm{is loaded}')

14 years ago | 0

Answered
A simple LowPass Filter
Do you have the Signal Processing Toolbox? d = fdesign.lowpass('Fp,Fst,Ap,Ast',3,5,0.5,40,100); Hd = design(d,'equirip...

14 years ago | 3

| accepted

Answered
Help with wavelets please
This a very broad question. I think you need to tell us more about the difference between a male and female bird's singing in th...

14 years ago | 0

| accepted

Answered
FFT
Then you just do t = 0:0.001:1-0.001; I = cos(2*pi*100*t); Q = sin(2*pi*100*t); sig1 = I+1j*Q; dftsig1 = fft(sig1); ...

14 years ago | 0

| accepted

Answered
how to calculate DWT of an image
Hi Prajakta, you want to use dwt2() or wavedec2(). However, I think you need to clarify what you mean by "for each block". A...

14 years ago | 0

Answered
FFT
Why do you want to weight them? And by weight, do you simply mean window the signals? fft() accepts a complex-valued input wi...

14 years ago | 0

Load more