photo

William Rose


Active since 2007

Followers: 1   Following: 0

Message

Statistics

All
  • Personal Best Downloads Level 2
  • 24 Month Streak
  • Guiding Light
  • Knowledgeable Level 5
  • Revival Level 3
  • Thankful Level 3
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • First Answer

View badges

Feeds

View by

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

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

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

3 dagen ago | 0

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

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

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

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

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

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

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

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

ongeveer een maand 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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);...

ongeveer 2 maanden 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, ...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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 ...

ongeveer 2 maanden 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...

ongeveer 2 maanden 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);...

ongeveer 2 maanden 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...

ongeveer 2 maanden ago | 0

Answered
Band-pass filter extraction.
@Claudio Iturra, Use a lower low frequency and a higher high frequency when specifying the bandpass filter, and consider using ...

2 maanden ago | 0

| accepted

Answered
How to code the equation below?
@Athira T Das, I haven;t looked at the code, but I think the first equation is incorrect. You write which appears to be mis...

2 maanden ago | 0

Answered
Google Earth Trajectory Path
@Aleyna, You need to put the rocket coordinates into a KML file, and make a link to the KML file from goodgle earth. THat is e...

2 maanden ago | 0

Answered
what is the peak amplitude of fft?
@Claudio Gerosa, The peak amplitudes of a signal in the time and frequency domains are different. This is true even when ther...

2 maanden ago | 0

Answered
How the extract EEG data according to different epoch limits?
@Elaine, Are you using EEGLAB? If so, I recommend you post your quesiton to the EEGLAB mailing list - see here. The answer ...

2 maanden ago | 0

Answered
Fourier Series,Spectral Analysys
@Tudor Valentin, [edit: fix spelling errors] Here is an example to assist you. The example below uses fft() to compute the spe...

2 maanden ago | 0

Answered
Make histogram for array of datetimes
@dormant, I am switching my comment to be an answer which is what I had intended. First, let's create an array of 1273 random d...

2 maanden ago | 0

Load more