Respondida
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...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

| aceptada

Respondida
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...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

| aceptada

Respondida
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...

casi 14 años hace | 1

| aceptada

Respondida
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...

casi 14 años hace | 1

Respondida
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 ...

casi 14 años hace | 2

| aceptada

Respondida
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 ...

casi 14 años hace | 0

Respondida
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)...

casi 14 años hace | 1

| aceptada

Respondida
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...

casi 14 años hace | 1

| aceptada

Respondida
conversion of P-file into m-file
No, you need the original Matlab code

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

Respondida
erasing particular rows of a vector
indices = find(A==0); indices = [indices; indices+1] A(indices) = [];

casi 14 años hace | 0

| aceptada

Respondida
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: ...

casi 14 años hace | 1

Respondida
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...

alrededor de 14 años hace | 0

Respondida
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...

alrededor de 14 años hace | 1

| aceptada

Respondida
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 =...

alrededor de 14 años hace | 0

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

alrededor de 14 años hace | 0

| aceptada

Respondida
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...

alrededor de 14 años hace | 0

| aceptada

Respondida
spectral coherence between several time series
You want to use mscohere.m to compute the magnitude squared coherence between two time series

alrededor de 14 años hace | 0

Respondida
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);

alrededor de 14 años hace | 0

Respondida
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...

alrededor de 14 años hace | 0

| aceptada

Respondida
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...

alrededor de 14 años hace | 0

Respondida
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...

alrededor de 14 años hace | 0

Respondida
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...

alrededor de 14 años hace | 0

Respondida
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...

alrededor de 14 años hace | 0

Respondida
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 ...

alrededor de 14 años hace | 0

| aceptada

Cargar más