Answered
Difference between theoretical power spectral density and pwelch/periodogram ARMA models
@Simona Turco, When estimating the transfer function with pwelch(), remember to compute the denominator. Estimate the PSD of...

3 months ago | 1

| accepted

Answered
autocorrelation of a signal after transforming the x-axis
@Sayanta Goswami, There is not an option with xcorr() to apply a different time scale. The discrete cross- and auto-correlatio...

3 months ago | 0

Answered
data fitting with multiple independent variables
@Daniele Sonaglioni, [edit: correct spelling error] Your model includes two global parameters (p1, p2) and three parameters th...

3 months ago | 0

Answered
getting a clear signal with eog
@Ali Eren Çinar, That is a really nice answer and follow-up from @Star Strider. For example, the lines hor = sum([-(EOGf{:,1}...

3 months ago | 0

Answered
Lognormal Fitting with the Pore Size and its Probabilities
@Alex Lee, Take the logarithm of the pore sizes, then compute mu and sigma using the log(pore size) vector. The mu, sigma comp...

4 months ago | 1

| accepted

Answered
How to modify the 2nd code like the 1st one?
@Sadiq Akbar, [edit: I submitted the answer prematurely.] Code 2 runs without error. Why do you think code 2 needs fixing? %...

4 months ago | 0

Answered
How can I combine two transfer function?
@Raveesha Bandara, The diagram indicates that the upper loop (or loops*) affects the lower loop, but the opposite is not true....

4 months ago | 2

| accepted

Answered
Plot spectrum and time domain of ADC data.
@Abdel, You normalize the amplitude spectrum by assuming the peak signal amplitude is 0 db. So of course your peak plotted sig...

4 months ago | 0

Answered
Matlab code of mobius transform
@Narges, @SAAAA, [edit: added SAAAA to the reply] consider the points on a circle to be points on the complex plane, z=x+iy. A...

4 months ago | 2

| accepted

Answered
Export 3D radiation pattern in CST to Matlab
@Wilfrid RENKANGA MBATCHI, [edit: Fix spelling errors. Add readmatrix() to my answer. Add discussion of some pros and cons of...

4 months ago | 0

| accepted

Answered
how to get the value of accuracy for each type of distortion and the accuracy value for all?
@RACHEL LYN JAHIRIN, [edit: remove redundant text from my answer] I understand you are using a support vector machine (SVM) to...

4 months ago | 0

Answered
% Demodulation demodulated_signal = modulated_signal .* c; % Low-pass filter (to remove high-frequency components) cutoff_freq = 2 * fm; % Cut-off frequency [b, a] = butter(6
@eman, Suppose the original signal is a 17 Hz sine wave plus a 23 Hz cosine wave, 0.2 seconds long, plus an offset so it is al...

4 months ago | 0

Answered
I need to predict isobaric and Isotropic heat capacity vs. temperature and density from equation 49 and 50 in the attached paper. I don't know how to write these equations.
@Hanadi, [edit: fix typos, and add a question about units, at the end, and change units for Cv in the comments of my code below...

4 months ago | 0

| accepted

Answered
findpeaks () doesn't find all peaks in function
@Michel, I see that the mat file contains the vector VP01f8, size 28600x1. I assume this is the signal of interest. I will refe...

4 months ago | 2

Answered
Moving Standard Deviation issues with NaN values (i.e., Stdfilt). Alternatives and workarounds?
@Simone A., [Edit: I attached the script twice. I am removing the earlier version.] See attached script. Key steps, which occu...

4 months ago | 0

| accepted

Answered
How to calculate the SNR of SSVEP signal after Fourier transform?
@潇轩 王, YOu say "why can't I get the same result?" Please explain more clearly what thing is not the same as what other thing. ...

4 months ago | 1

Answered
Segment data into overlapping windows
@Panos Kerezoudis, you did not specify the sampling rate. You said you have time series data (1x300). I assume 300 is the num...

4 months ago | 0

| accepted

Answered
3-D Polar Plot from mat Data
@Naeem, [Edit: added references to the File Exchange programs you referenced.] I am surprised that you were not satisfied with...

4 months ago | 0

| accepted

Answered
FFT from CSV data file
@Mathias Braun, data=importdata('test_amplitude_50.2 (1).csv'); y=data.data; % signal N=length(y); % length of ...

4 months ago | 1

Answered
Fitting Curve To Polarplot Data
@israel cohen, Matlab's lsqcurvefit is very good. The help for it has many good examples. As the name suggests, the error fun...

4 months ago | 0

Answered
projecting 2D (x, y) coordinates onto a 3D plane
@Giuseppe Cecchelli, I think you know more than I do about Matlab's camera projection algorithms. Therefore I do not expect tha...

4 months ago | 0

| accepted

Answered
correct conversation from polar to cartesian coordinates for a surface profile
@Jessica Winkler, [edit: clean up copy-paste error, remove a line of code I added that was superfluous] [edit: Reverse the axi...

5 months ago | 0

Answered
Unable to find transfer functon using model linearizer
@S J Lohit Prakash, [edit: Fix a typo in the y-axis label of two plots.] You and @Paul are skilled in using Mat;lab's tools fo...

5 months ago | 0

Answered
Estimating transfer function of a system with input and output values as well as kp and ki values
Keaton, what do you get if you analyze the new data with code used to analyze the earlier data? What differences between the tra...

5 months ago | 0

Answered
How can I get a two-dimensional contour line graph from Wavelet Time-Frequency analysis?
@Navid, Here is an example: fs=1000; % sampling rate (Hz) t=(0:1000)/fs; % time vector for x (s) x=chirp(t,50,1,300)...

5 months ago | 1

| accepted

Answered
Combine two MATLAB figures with two different y axes
@Belinda, I packaged the raw data into a single .mat file, attached. I will make two figures. Figure 1 has two panels. Figure...

5 months ago | 0

Answered
Estimating transfer function of a system with input and output values as well as kp and ki values
@Keaton Looper, Yes you can. You can estimate the overall transfer function from Vin(t) to Vout(t) by using tfestimate(), if y...

5 months ago | 0

Answered
In the case of a previously filtered signal, what methods can be employed to identify its filter characteristics?
@G, If you only have the filtered signal, and not the original, then you are out pf luck, unless you know, or are willing to as...

5 months ago | 1

Answered
How can I draw a plane between 2 points ?
@VIGNESH BALAJI, You need to specify the third point (P2) in order to define a unique plane, and the third point must not be co...

5 months ago | 0

| accepted

Answered
Hanning Window Energy Density Value
@Selina, The normalization of the power spectrum is tricky. For example,there is the power spectrum and the power spectral dens...

5 months ago | 0

| accepted

Load more