Réponse apportée
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...

plus de 14 ans il y a | 1

Réponse apportée
iid
Can't you do: A = randn(10,10); Q = orth(A'); or even Q = qr(A');

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
??? 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...

plus de 14 ans il y a | 0

Réponse apportée
Extraction of Duty Ratio of a PWM in matlab
In R2012a in the Signal Processing Toolbox, there is a new function dutycycle.

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 1

Réponse apportée
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));...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
MATLAB Programers for hire
MathWorks does offer consulting services: < http://www.mathworks.com/services/consulting/>

plus de 14 ans il y a | 3

Réponse apportée
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...

plus de 14 ans il y a | 2

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

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

plus de 14 ans il y a | 1

Réponse apportée
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()...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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

plus de 14 ans il y a | 0

Réponse apportée
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.

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 14 ans il y a | 0

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

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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 =...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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]...

plus de 14 ans il y a | 0

| A accepté

Charger plus