# William Rose

Active since 2007

Followers: 1   Following: 0

All

#### Feeds

View by

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

8 days ago | 0

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

9 days ago | 0

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

9 days ago | 0

| accepted

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

13 days ago | 0

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

13 days ago | 0

Submitted

Cross Quantilogram Matrix
Estimate and plot cross quantilogram matrix.

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

15 days ago | 0

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

16 days ago | 1

How to plot a poincare beam showing its singularity using polarisation distribution plot

18 days ago | 0

| accepted

3-factor anova

19 days ago | 1

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

28 days ago | 1

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 month ago | 0

| accepted

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 month ago | 0

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 month ago | 0

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 month ago | 0

| accepted

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 month ago | 0

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 month ago | 0

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

2 months ago | 1

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

2 months ago | 0

| accepted

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

2 months ago | 0

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

2 months ago | 0

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

2 months ago | 1

| accepted

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

2 months ago | 1

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

2 months ago | 1

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

2 months ago | 1

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

2 months ago | 0

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

2 months ago | 0

| accepted

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

3 months ago | 1