Answered
Determining gait cycle from heel marker motion capture data
@Katie, Post some example data if you wish. Here is a paper I co-authored on the topic of identifying gait cycle during teadmi...

1 year ago | 1

Answered
The Mathieu Equation—Stability for 2DOF whirlflutter system
@Nikoo, [Edit: Replaced scan of Figure 9 with a better scan that does not cut off the Y axis label.] You seek advice for code ...

1 year ago | 0

Answered
Face Difficulty when converting tensorflow model to Matlab
@Ze, Your function compute_loss_gradients(...) calls function compute_loss3(). The call to compute_loss3(...) includes w_upd ...

1 year ago | 0

| accepted

Answered
MSSA method multichannel spectrum analysis
@ahmad Saad, I recommend that you do the Matlab tutorial on singular spectrum analysis here, then do the tutorial on multichann...

1 year ago | 0

Answered
How do I download a .set file onto EEGLAB?
@Tyler, The .set files in EEGLAB have a complicated structure. The best way to get the data in a .set file into the Matlab wor...

1 year ago | 0

Submitted


Cross Quantilogram Matrix
Estimate and plot cross quantilogram matrix.

1 year ago | 1 download |

0.0 / 5
Thumbnail

Answered
How to plot cross quantile correltaion heatmap
@Hamid Muili, Some data: C=(0.71*rand(21,21)).^2; Plot the data x=0:.05:1; y=x; [X,Y]=meshgrid(x,y); surf(X,Y,C) colormap...

1 year ago | 0

Answered
I want to plot same X axis and different Y axis like timing diagram
@Bahadir Guven, Make some simulated data: t=0:0.5:4.5; % time (ms) N=length(t); Va=randi([0,1],1,N); Vb=randi([0,1],1,N);...

1 year ago | 1

Answered
How to plot a poincare beam showing its singularity using polarisation distribution plot
@Aswathi K, [Edit: Correct spelling mistakes and add comments to the code.] It seems the green and black in your image repres...

1 year ago | 0

| accepted

Answered
3-factor anova
@Elzbieta, I like the answer from @Aditya, because it gives links to the documentation for N-way ANOVA. I interpret your ori...

1 year ago | 1

Answered
Analyze MIMIC III waveform data directly in Matlab
@Ram Krishnan, After you reigtser on the physionet site, you may use the package here https://archive.physionet.org/physiotoo...

1 year ago | 1

Answered
Deforming sheet into conical structure
@Priyanshu, You want to map points from the x-y plane (flat sheet) to half of a conical frustrum. The initial points are point...

1 year ago | 0

| accepted

Answered
Why such a fuss with ndgrid and meshgrid issues?
@Kristoffer Walker, I definitely agree with you. I use inputs that are non-square when i use surf() and related routines. Thus...

1 year ago | 0

Answered
lsqcurvefit not working properly
@Jack, It would be helpful to run your script in the window to show that the "really bad" fit looks like. Post only the minimum...

1 year ago | 0

Answered
How to determine sampling frequency of wgn?
@Jan, [Edit: Re-ran the script because the plot below was wrong, probably from an earlier version of the script. Thanks to @Pau...

1 year ago | 0

| accepted

Answered
How to display skeleton data
@NGR MNFD, I assume jints 0 to 24 in the CSV file correspond to joints 1 to 25 in the skeleton connection list. Please be consi...

1 year ago | 0

Answered
Using iFFt to convert acceleration PSD ((m/s²)²/Hz) to random acceleration time series (m/s²)
@Tiasa Ghosh, [edit: I uploaded an updated version of SpectrumAnalysisNotes. The new version has more formulas and examples, n...

1 year ago | 0

Answered
If & elseif to determine temperature essentially
@Zachary, Read the help for "if... elseif...else...end" and the help for "switch...case" to learn about different ways to appro...

1 year ago | 1

Answered
How to apply a linear ramp to start and end of several EEG epochs to attenuate the abrupt onset and offset?
@Elaine, I will assume you have imported the EEG data into vector x, with T*Fs rows, where T=3 s=record duration, and Fs=sampli...

1 year ago | 0

| accepted

Answered
Contour plot from x and y data points with corresponding contour level
@Chris Nemecek. The code below plots the x,y coords of the data, in order to give insight get into the spatial sampling. The c...

1 year ago | 0

Answered
Identifying all elements and their nodal coordinates given all possible nodes
@Sadie, You want to "identify every single square element". Do you have a preferred format for the "identified" faces? What do...

1 year ago | 0

Answered
How to make the colorbar/colormap with colors the same as ANSYS in Matlab?
@Lidianne Mapa, [edit: Fix spelling errors in my remarks. No changes to the code.] x=0:.01:6; y=0:.01:2; [X,Y]=meshgrid(x,y);...

1 year ago | 1

| accepted

Answered
If I have an array and I need to find an element in the array how do I go about it?
@Joseph, states = [1 0 0; 1 1 0; 0 1 0; 0 1 1; 0 0 1; 1 0 1; 1 1 1]; C = [1 1 0]; for i=1:length(states), if states(i,:)==C, ...

1 year ago | 1

Answered
Lead Concatenation in ECG Classification Using CWT: Required or Optional?
@Sabrine, I assume you have read this paper, published in 2021: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7831114/ The auth...

1 year ago | 1

Answered
Smoothing or special techniques to resolve uncertain peaks are required!!
@한 박, You ask "how can I make this data as smooth as a sin function?". You could fit the data with a sinusoid. Here is an exam...

1 year ago | 1

Answered
How to make curve fitting by spline between two Arcs
@sila, If you connect the two curves with a semicircle, then the first derivatives match at the connecting points. However, the...

1 year ago | 0

Answered
Random squares/rectangles in a square
@Tony Haines, So you want option B. OK. Ns=5; % number of squares P=zeros(4,2,Ns); % vertex coords ...

1 year ago | 0

| accepted

Answered
Random squares/rectangles in a square
@Tony Haines, Do you want A. One random square inside the unit square, and you want choose that random square 5 times, and ea...

1 year ago | 1

Answered
How to add a sum of frequency band or a specific frequency to the wsst function
@Luccas S., Compute wsst, and plot its magnitude: load mtlb dt = 1/Fs; t = 0:dt:numel(mtlb)*dt-dt; [sst,f] = wsst(mtlb,Fs);...

1 year ago | 1

| accepted

Answered
Applying a phase shift to a complex signal vector
@Maxime Zelenko. [Edit: In case it is not obvious, x is the original signal, and y is the phase-shifted signal.] Since you are...

1 year ago | 0

Load more