Respondida
indicating when data reaches a certain threshold
@Perri Johnson FYI here's a paper on determining ground contact time. https://pubmed.ncbi.nlm.nih.gov/20478742/ Will get back...

alrededor de 4 años hace | 2

Enviada


findpeaksInterp
Plug-in substitute for findpeaks(). Uses parabolas to interpolate to estimate "true" peaks.

alrededor de 4 años hace | 1 descarga |

0.0 / 5
Thumbnail

Respondida
Lomb Scargle Periodogram gives me an unexpected peak in the final plot
@Loren99, Lomb-Scargle is not the way I would estimate the spectrum from this data. Lomb-Scargle is great when there is missing...

alrededor de 4 años hace | 2

Respondida
Lomb Scargle Periodogram gives me an unexpected peak in the final plot
@Loren99, I would interpolate your signal at 3 second intervals.* Then I would estimate the spectrum of the interpolated signal...

alrededor de 4 años hace | 0

Respondida
Simulating earth rotating the sun with eulers method.
@Roble Noor, In your code, init_speed=0; %... init_angular_velocity=1.99e-7; init_speed=0 is wrong. The Earth will be pul...

alrededor de 4 años hace | 1

| aceptada

Enviada


Remove Undercuts
Remove undercuts from an x,y data set. This can make it possible to interpolate a data set that otherwise could not be.

alrededor de 4 años hace | 1 descarga |

0.0 / 5
Thumbnail

Respondida
Understanding the DFT of a complex-valued time signal
@Martin Doherty, the FFT of your complex sequence is zero for negative frequencies (i.e. for frequencies above the Nyquist frequ...

alrededor de 4 años hace | 1

Respondida
plot3 curve to cylinder with curve as center
@Julius Schroers, See tubeplot.m and RenderLines2Tubes, which uses tubeplot. Both on the Matlab file exchange. Good luck.

alrededor de 4 años hace | 2

| aceptada

Respondida
how can i remove Baseline wander of an ECG signal by two-stage moving-average filter?
@Naor p, At each point, you replace the original signal with the orignal signal minus the moving average of the signal in that ...

alrededor de 4 años hace | 1

| aceptada

Respondida
How to eliminate "undercuts" of a 2d curve?
@paul harder, data=load('undercutdata.txt'); xin=data(:,1); yin=data(:,2); xout(1)=xin(1); yout(1)=yin(1); i=2; j=1; whil...

alrededor de 4 años hace | 1

| aceptada

Respondida
What is IFR filter?
@Crocodile Fever, Why did you answer your own question? I have never heard of an IFR filter. But I have heard of, and I have u...

alrededor de 4 años hace | 0

Respondida
How can i draw the phase portrait in my code for 3 non-linear coupled ODEs in 3D plane
@Akhtar Jan, Matlabs quiver3() is very nice for this. "quiver3(X,Y,Z,U,V,W) plots arrows with directional components U, V, and...

alrededor de 4 años hace | 1

| aceptada

Respondida
plotting time delay system eigenvalues
In the example you have given, I assume is the output. For linear systems, exponentials (including complex exponentials) are ...

alrededor de 4 años hace | 0

| aceptada

Respondida
How to generate a signal using exponential forier series?
@Arrian Esteki, Please explain your question in more detail. Write a few sentences describing the problem exactly. Also, show w...

alrededor de 4 años hace | 0

Respondida
Define the frequency axis for spectrum analyzer - Simulink
@Vinícius Corrêa, The signal used to create the spectrum you showed was probably sampled at 500 MHz. The spectrum of a signal ...

alrededor de 4 años hace | 1

| aceptada

Respondida
Repeated Measure ANOVA 2x2
@Sara Romanella, The attached script does a two-way ANOVA with repeated measures, as before, and it does a 3-way ANOVA (without...

más de 4 años hace | 0

Respondida
Repeated Measure ANOVA 2x2
@Sara Romanella, Here is a Matlab solution. I put your data into a text file, data.txt (attached). The script reads the text ...

más de 4 años hace | 0

Respondida
Repeated Measure ANOVA 2x2
@Sara Romanella, don't have the Matlab yet but here it is in Excel. The ANOVA section at bottom right of the image shows the ...

más de 4 años hace | 0

Respondida
Func returns a vector of length 2, but the length of initial conditions vector is 9.
@Arda Canbas, Your initial conditions should be a 2-element vector, since mbk() returns a 2-componnt vector. So do tspan=[0 1...

más de 4 años hace | 1

Respondida
How to measure the angle between the poles and the x-axis using the Root Locus?
@Tarek Hajj Shehadi, Suppose you have a real-axis pole , or a zero at , on the real axis at position . And suppose you have a ...

más de 4 años hace | 0

| aceptada

Respondida
I have differential equations and I need to write them into a vector function
@ssmith, The documentation for ode45() is really good, I think. Can you make an effort at writing some code, and post what you...

más de 4 años hace | 0

Respondida
multiple second order differential equations solution
@Arun Gowda, if you read the help on ode45, it is pretty clear on how to do this. The equations you wrote are 4 separate pair...

más de 4 años hace | 0

Respondida
I want to apply moving average filter! could you tell me how can I do that?
@James James, Here's a method that hadles the edges better, and is more elegant, because it eliminates for loops. t=0:100; x...

más de 4 años hace | 0

Respondida
I want to apply moving average filter! could you tell me how can I do that?
@James James, everything @Adam Danz said is correct. But here's an example, assuming you want a "flat" moving average: t=0:100...

más de 4 años hace | 0

Respondida
3D from multiple 2D curves
@Ivo Grigoli, Suppose you have M different curves y1(x), y2(x),...,yM(x), and they each have N points. Let's assume you also ha...

más de 4 años hace | 0

| aceptada

Respondida
Why doesn't the code for cardiac cycle with varying resistance and capacitance run?
@Timothy Jen Roxas, I saved your program as script CVSimMatlabCentral.m. I ran it, with this result: >> CVSimMatlabCentral U...

más de 4 años hace | 1

| aceptada

Respondida
Rotation of 3 vectors together
@Ozzy , Here is code that adjusts a rotation matrix to get the best fit. Best fit is defined as the minimum error between the d...

más de 4 años hace | 1

| aceptada

Respondida
Rotation of 3 vectors together
Rotations preserve angles between vectors. You multiply the array of column vectors by a 3x3 rotation matrix. x = [0;0;1]; y...

más de 4 años hace | 1

Respondida
How to vertically concatenate files with spectral data that may be in xlsx, csv or a MATLAB dataset format
@Glyn Troup, Here is a demonstration using text files. Each file has a column of 10 numbers. The output array is interleaved a...

más de 4 años hace | 0

| aceptada

Respondida
Calculate Rotation matrix from 3 points
@Jimmy Neutron, A rotation in three dimensions has three degrees of freedom, so you need to know three "before" points and thre...

más de 4 años hace | 0

Cargar más