Réponse apportée
Input argument "y" is undefined.
I have no problem running this code: yo=15; tspan=[0:1:4]; [t,y]=ode45(@trombe11,tspan,yo); plot(t,y) Make sure th...

presque 14 ans il y a | 0

Réponse apportée
Determining the maximum value of a function between a certain range.
Presumably you have your data in a vector in the MATLAB workspace. Since you know the correspondence between indices in your vec...

presque 14 ans il y a | 0

Réponse apportée
msresample error message: 'the point coordinates are not sequenced in strict monotonic order'
Which version of Matlab are you using? Am I not able to reproduce this error, but out of curiousity, why are you setting the ran...

presque 14 ans il y a | 0

Réponse apportée
Returning coordinates from a plot function
Hi Trent, max() will return the index also and from that index, you can get the maximum frequency from the frequency vector that...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Radar - CFAR Threshold and Probabilities (Noise and Swerling)
Hi, I think you maybe confusing the term "white" with Gaussian. In terms of the Rayleigh distribution and Swerling models, th...

presque 14 ans il y a | 0

Réponse apportée
Normal Distributions: Standard Deviation from Statistics Toolbox vs Standard Deviation computed using std(data)?
I'm not sure exactly what you're saying here. histfit() calls fitdist to fit the normal distribution. mu = 10; sigm...

presque 14 ans il y a | 0

Réponse apportée
Why does spectral phase from the fft of gaussian pulse shows sawteeth?
I don't think there is a problem, I think if you plot the following subplot(211) plot(frequency,abs(spectrum)) subplo...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
need a help with code for breaking a signal in diffrent wavelets
If you have the Wavelet Toolbox, there are many possibilities. You need to determine which "flavor" of wavelet transform is most...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
running m file from command window
Just save your function MyBisect.m in a folder that either already is on the Matlab path, or save it in a folder, and then add t...

presque 14 ans il y a | 1

Réponse apportée
Simulink Singular Value Decomposition (SVD) Bug?
It's not a bug, the difference you see is simply the signs on the elements of u are the opposite, but that is also true for the ...

presque 14 ans il y a | 2

| A accepté

Réponse apportée
FFT example on MATLAB help
Both Honglei and Rick have given you good responses. If you want the magnitudes recovered from the DFT to equal the time domain ...

presque 14 ans il y a | 0

Réponse apportée
diff of order n around a point x0
Do you have the Symbolic Toolbox and an expression for your function? syms t x = cos(2*t); y = diff(x,2) subs(y,0)...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
interp1 yields NaN for two signals interpolation of the same sampling frequency
I think you have the wrong idea about interpolation here. interp1 assumes that X1 has been sampled at a lower rate than X2. So t...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
conversion of P-file into m-file
No, you need the original Matlab code

presque 14 ans il y a | 0

Réponse apportée
extract and change fundamental frequency
You have not told us what the sampling frequency is of the data, but I doubt you are going to get satisfactory results using the...

presque 14 ans il y a | 0

Réponse apportée
erasing particular rows of a vector
indices = find(A==0); indices = [indices; indices+1] A(indices) = [];

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Area of a Spectrum
Hi Lisa, If you have the Signal Processing Toolbox, you can use the avgpower() method of a spectrum object. For example: ...

presque 14 ans il y a | 1

Réponse apportée
A simple question about undefined function error
Have you defined this variable inside the function? Having the variable in your MATLAB workspace is not sufficient. You could...

presque 14 ans il y a | 0

Réponse apportée
Daubechies filters: Frequency response
Hi Lorena, you have to determine the equivalent filter at each level of the wavelet tree. As a simple example, I'll show you how...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
how to implement a fast filter algorithm
I would try using filtfilt.m instead of filter() followed by your other code to do zerophase filtering. Replace: yfilt1 =...

presque 14 ans il y a | 0

Réponse apportée
Where can I find the documentation in MATLAB
<http://www.mathworks.com/help/techdoc/matlab_prog/f0-42649.html>

presque 14 ans il y a | 0

| A accepté

Réponse apportée
spectral coherence between several time series
I'll assume you really want to add Gaussian noise and not uniform noise to the data. y = A.*sin(2*pi*1/T*t); Data1 = y...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
spectral coherence between several time series
You want to use mscohere.m to compute the magnitude squared coherence between two time series

presque 14 ans il y a | 0

Réponse apportée
Why am I getting a warning in "mafdr" when using my list of p-values?
Does this work for you? [fdr,qvalues] = mafdr(pvalues,'lambda',0.15);

presque 14 ans il y a | 0

Réponse apportée
Why am I getting a warning in "mafdr" when using my list of p-values?
Hi, that is apparently a bug in the bootstrapchooser helper function. Do you have access to the R2012b prerelease version of MAT...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Magnitude response of Chebsev filter for Type1
You have not given us your desired peak-to-peak ripple or passband edge frequency or sampling frequency, but the general idea is...

presque 14 ans il y a | 0

Réponse apportée
What is the power magnitude in FFT?
Hi Roser, "power" is basicially magnitude squared. If you are trying to construct a power spectral density estimate, the units a...

presque 14 ans il y a | 0

Réponse apportée
wavelet threshold select ddencmp
Hi ddencmp only returns thresholds so there is nothing "soft" or "hard" about it. When you actually denoise the images using wde...

presque 14 ans il y a | 0

Réponse apportée
What does the matlab code in steps 2 and 3 mean?
M is a 3-D matrix. M(:,:,1) = Hphi; Means set the first "page" of the 3rd dimension equal to the output of Heaviside with...

presque 14 ans il y a | 0

Réponse apportée
Small variation in amplitude
You can amplitude modulate the different sections. For example, I'll amplitude modulate from 1 to 3 seconds in the following ...

presque 14 ans il y a | 0

| A accepté

Charger plus