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

4 meses hace | 0

| aceptada

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

4 meses hace | 1

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

4 meses hace | 1

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

5 meses hace | 0

| aceptada

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

5 meses hace | 0

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

5 meses hace | 0

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

5 meses hace | 0

| aceptada

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

5 meses hace | 0

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

5 meses hace | 0

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

5 meses hace | 1

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

6 meses hace | 0

| aceptada

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 1

| aceptada

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

6 meses hace | 1

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

6 meses hace | 1

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

6 meses hace | 1

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

6 meses hace | 0

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

6 meses hace | 0

| aceptada

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

6 meses hace | 1

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

6 meses hace | 1

| aceptada

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

6 meses hace | 0

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

6 meses hace | 0

| aceptada

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

Respondida
How to write this function in Matlab having inner product
@SHAHID, This is a standard definition of inner product for continuous functions. The limits of integration, 0 to 1 in your ex...

6 meses hace | 0

Cargar más