Answered
How can I find the power factor when my system contains harmonics?
@Chonlasit, When you have harmonics, the power factor for a single-phase system, and for a 3-phase system with three identical ...

2 months ago | 0

| accepted

Answered
Can't understand why Pwelch claims window is larger than input signal
@Jude, [Edit: correct spelling in my comments.) You need to use the transpose of the data array. pwelch() finds the spectrum ...

2 months ago | 1

| accepted

Answered
Simulating a high performance, very compact optical distance measurement sensors for applications such as ADAS
@idris, "Does mathworks provide such a functionality of simulating a ladar that is edge emitting, and having 905nm, single stri...

2 months ago | 0

| accepted

Answered
model reduction from a database created with xfoil
@Marko, I do not think proper orthogonal decomposition or principal component analysis will be useful for this problem. To do p...

2 months ago | 0

Answered
Can anyone help me in understanding of deconvolution based on toeplitz matrix?
@Junjie Zhao, Here is an examle, using d=[1 2 3 4 5], which you suggested. Since d has length 5, then the convolution d*w = p (...

2 months ago | 0

Answered
how to heat map encode a smoothed line of sparse time-series data
@hxen, [Edit: Add label to colorbar.] The script below plots the raw data and smoothly interpolated data, colored by speed. Yo...

2 months ago | 1

| accepted

Answered
Question Regarding Baseline Correction in Time-Frequency Analysis of Auditory MMN Data
@Elaine, [Edit: fix spelling errors] I understand that you want to do time-frequency analysis on EEG data evoked by auditory s...

3 months ago | 0

Answered
QRS area calculation from ECG
@Gültekin Günhan, [Edit: Add a citation of, and link to, the original Kors paper. The data and matrix and code are unchanged.]...

3 months ago | 0

Answered
Converting spectrum.pwelch//psd to equivalent pwelch call
@Ron Fowler, The defaults for spectrum.welch are listed here. The defaults for pwelch are listed toward the bottom of this p...

3 months ago | 0

Answered
Motion correction for foot movement in an MRI foot
@Trixie, Please upload a subset of the data array, im4d. For example, the first 10 time points, i.e. a 128x64x51x10 array. Mayb...

3 months ago | 0

Submitted


Random numbers with custom distrbution
myRand returns random numbers with a custom distribution specified as a histogram.

3 months ago | 0 downloads |

Answered
Can we specify an "outward" direction to normal obtained from pcfitplane approach?
@Manish Kumar Nayak, I agree with @Matt J. To be more specific: Assume n is the normal vector returned by pcfitplane. If yo...

3 months ago | 0

| accepted

Answered
Find the ratio or difference spectra as time progresses
There is a large literature on transfer funciton estimation by taking the ratio of two complex spectra. This usually involves th...

3 months ago | 1

Answered
How to calculate HF/LF from ECG data
@拓実, The ratio of power in the low frequency band (defined as 0.04–0.15 Hz) to the high-frequency band (defined as 0.15–0.40 Hz...

3 months ago | 0

Answered
Plotting deflection of beam using macaulay functions
@Benjamin, You wrote: "An example of this function would be: slope=(1/(E*I))*(146.5*<x>^2+315<x-0.12>^2-70.24*,x.^3)" I inter...

3 months ago | 0

Answered
How to plot one curve and change color according to value
@Fritz Weld, [Edit: clean up code a lttle bit.] x = linspace(0,10); y = sin(3*x).*exp(0.5*x); y1=zeros(size(y)); y2=y1; % i...

3 months ago | 0

Answered
Random Number Generation with Parameters
@Demosthenis Kasastogiannis, I share @John D'Errico's question. I am not sure I understand your reply to his question. My under...

3 months ago | 0

| accepted

Answered
How to calculate average frequency and a frequency over time graph all in Matlab?
@Ugonne, [edit: I adjusted my discussion at the bottom slightly. No changes to code or plots.] I made a recording with my comp...

3 months ago | 0

Answered
How to datasample exponential data without losing the exponential decay?
@SARA CACCIATO SALCEDO, @Star Strider and @Les Beckham have provided excellent suggestions. You want a matrix that is 400x1000...

3 months ago | 2

Answered
Good evening, we have a point cloud and have applied an first rotation to align the point cloud along the y-axis. Now we have a problem with a second rotation
@Alessandro, You can find the directions of the principal axes by eigenvalue decomposition of the covariance matrix of the poin...

3 months ago | 0

Answered
I need help using the corrcoef function to calculate PRx (pressure reactivity index)
@Caleb, The pressure reactivity index is defined as "a moving correlation coefficient from 30 consecutive 10-s averages of ICP ...

3 months ago | 0

Answered
how i can modifiy the code to make the bandwith of fft less ?
@ANAS HAMZAH, To get the very narrow bandwidth shown inthe second plot in your PDF, you need to inccrease the duration of the s...

3 months ago | 0

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

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

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

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

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

4 months ago | 0

Submitted


Cross Quantilogram Matrix
Estimate and plot cross quantilogram matrix.

4 months ago | 2 downloads |

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

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

4 months ago | 1

Load more