Respondida
correlation
A=[1.1,10.3,2.3,3.4,55.3,6.1,9.2]; B=[1.0,2.0,3.0,4.0,5.0,6.0,7.0]; [R,P] = corrcoef(A,B); R(1,2) If you want...

más de 14 años hace | 1

Respondida
iid
Can't you do: A = randn(10,10); Q = orth(A'); or even Q = qr(A');

más de 14 años hace | 0

| aceptada

Respondida
??? Undefined function or method 'dsip' for input arguments of type 'double'.
Did you mean disp()? For your other error: You have l(k)=l(k)*((x-x(n))/(x(k)-x(n))); But x is not a scalar. Y...

más de 14 años hace | 0

Respondida
Extraction of Duty Ratio of a PWM in matlab
In R2012a in the Signal Processing Toolbox, there is a new function dutycycle.

más de 14 años hace | 0

| aceptada

Respondida
How to apply hsize of 3x3 square matrix into gaussian filter ?
Why are you trying to do that? fspecial() gives you the Gaussian filter, then you use that to filter your matrix. H = fspe...

más de 14 años hace | 1

Respondida
Median Frequency(Fmed)
Hi Shenal, you can do the following: t = 0:0.001:1-0.001; x = cos(2*pi*50*t-pi/4)+0.5*sin(2*pi*100*t)+randn(size(t));...

más de 14 años hace | 0

| aceptada

Respondida
MATLAB Programers for hire
MathWorks does offer consulting services: < http://www.mathworks.com/services/consulting/>

más de 14 años hace | 3

Respondida
Assigning time on x axis for audio samples
You can create a time vector for your longest recording and then use subsets for a particular vector. If N is the length of t...

más de 14 años hace | 2

Respondida
An error at modulation process
You must not be executing this line sound = sound(:,1); sound must be 118784x1, NOT 118784x2 clear everything in your w...

más de 14 años hace | 0

| aceptada

Respondida
An error at modulation process
You have a two-channel recording, do this: [sound,fs]=wavread('sesdeneme.wav'); sound = sound(:,1); fn1 = [10/(7000), ...

más de 14 años hace | 1

Respondida
An error at modulation process
You must not have a version with iscolumn(). That's fine, you don't need that, I just put that in in case the output of filter()...

más de 14 años hace | 0

Respondida
Z-transform of time domain data
If you have a finite-length vector which is the impulse response of a discrete time system, then you have an FIR filter. The val...

más de 14 años hace | 0

Respondida
how to make a redundant dictionary with different wavelets?
If you have R2012a, you can do that with Matching Pursuit. See the help for wmpdictionary.m

más de 14 años hace | 0

Respondida
how to calculate frequency from the wavelet toolbox?
If you know the scale you are visualizing you can make a correspondence using scal2frq() has I have said.

más de 14 años hace | 0

Respondida
Error in dolphchebyshev array
Where is the function planar_dolphcheby defined? You must have an M-file called planar_dolphcheby.m somewhere on your path th...

más de 14 años hace | 0

Respondida
Switch
No, a complex number is 1x1 in MATLAB, not 2x1 Can you provide an example of where your switch fails? z = 1+1j; swi...

más de 14 años hace | 0

| aceptada

Respondida
z power 1 filter in matlab
Do you have the Wavelet Toolbox? If so you can implement a lifting scheme where the Laurent polynomial has positive powers of z ...

más de 14 años hace | 0

Respondida
An error at modulation process
[sound,fs]=wavread('sesdeneme.wav'); fn1 = [10/(7000), 700/(7000)]; [b1,a1] = butter(10, fn1, 'bandpass'); y1=filter(b1,...

más de 14 años hace | 0

Respondida
finding skewness, kurtosis
Why do you have this line in your function: sprintf('%d', '%d', '%d', '%d', avg, rms, sk, ku); First of all those valu...

más de 14 años hace | 0

Respondida
how to calculate frequency from the wavelet toolbox?
You can use scal2frq to return the pseudo-frequencies corresponding to particular scales. For example: t = linspace(0,5...

más de 14 años hace | 0

Respondida
HI , I WANT TO USE "IF" AND ELSE CONDITIONS IN MATLAB USERDEFINED FUNCTION ?PLZ HELP ME
Have you just read the MATLAB getting started guide, or the help for if? I think you don't need a book on that alone. x = 3...

más de 14 años hace | 0

Respondida
How do you fit a gamma distribution?
You can use either mle() with the 'Distribution','gamma' gamfit() or fitdist() with 'gamma'. All require the Statistics To...

más de 14 años hace | 0

Respondida
Plotting error message
You have the line: l=1+y2*10; and then you try to use that to index the columns of t(), but you actually have an index no...

más de 14 años hace | 0

| aceptada

Respondida
i need code for the following topic... 1.MATLAB code for a steganographic method based on integer wavelet transform and genetic algorithm
You can implement an integer-to-integer wavelet transform using the Wavelet Toolbox and a lifting transform. You will need to...

más de 14 años hace | 0

Respondida
MATLAB - fft, find where it occurs in original data
Hi Marius the DFT has no time localization because you sum over all time. Based on the output of fft(), you cannot determine whe...

más de 14 años hace | 0

Respondida
Reconstruct the signal using wavelet
Are you sure you are getting tmp from tmp = cumsum(L); That output cannot be a non-integer, please show me your code and g...

más de 14 años hace | 1

| aceptada

Respondida
FFT
Hi Sumit: Fs = 1e3; t = 0:0.001:1-0.001; x = 2*exp(1j*(2*pi*100*t-pi/4))+1.5*exp(1j*(2*pi*200*t+pi/8)); xdft =...

más de 14 años hace | 0

Respondida
Reconstruct the signal using wavelet
You are using the incorrect input to waverec. waverec expects that the input is the wavelet and scaling coefficients. However yo...

más de 14 años hace | 0

Respondida
subdivision of samples to calculate RMS
You can create a matrix where you take every 100 consecutive samples of your waveform and use those as the columns of the matrix...

más de 14 años hace | 0

| aceptada

Respondida
Plotting X-X and Y-Y (a cross on a point)
x1 = 3; y1 = 5; c1 = 2; c2 = 4; c3 = 4; c4 = 6; plot(x1,y1,'ob') hold on axis([0 7 0 7]...

más de 14 años hace | 0

| aceptada

Cargar más