Risposto

Adjusting Parameters in Transcranial Doppler Audio Processing: Seeking Guidance on Gain, SWEEP, and Audio Playback

@Patrícia, For colors, you can specify a colormap that gives colors more like what you want. See here, and scroll down to see ...

Adjusting Parameters in Transcranial Doppler Audio Processing: Seeking Guidance on Gain, SWEEP, and Audio Playback

@Patrícia, For colors, you can specify a colormap that gives colors more like what you want. See here, and scroll down to see ...

circa un mese fa | 0

Risposto

Inconsistency between Matlab eig() function and Matlab generated C code eig() function

@Hugoz, I am not sure how you generated the C code, but I suspect the C code is wrong. Matlab's eig() is extremely well tested...

Inconsistency between Matlab eig() function and Matlab generated C code eig() function

@Hugoz, I am not sure how you generated the C code, but I suspect the C code is wrong. Matlab's eig() is extremely well tested...

circa un mese fa | 0

Risposto

Fitting an ellipse based 3D PointCloud on 3D space

@Tingting, The data file you provided is a triangulation object. To fit an ellipse to the data, extract the vertices. load('3...

Fitting an ellipse based 3D PointCloud on 3D space

@Tingting, The data file you provided is a triangulation object. To fit an ellipse to the data, extract the vertices. load('3...

circa un mese fa | 0

Risposto

Inconsistent solutions for numerical integration of non-linear differential equations?

@Marco, [Edit: Change "higher level solvers are able to achieve..." to "higher order solvers may achieve...", because the highe...

Inconsistent solutions for numerical integration of non-linear differential equations?

@Marco, [Edit: Change "higher level solvers are able to achieve..." to "higher order solvers may achieve...", because the highe...

circa un mese fa | 0

Risposto

How to use MATLAB to simulate and obtain farmland plots?

@marvellous, Yes you can. You'll need to specify something about the shape, for example, the number of vertices. I'm sure ...

How to use MATLAB to simulate and obtain farmland plots?

@marvellous, Yes you can. You'll need to specify something about the shape, for example, the number of vertices. I'm sure ...

circa un mese fa | 1

| accettato

Risposto

Amplitude decrease after FIRRateConverter

@Yuhan Chiang, [edit: fix spelling errors] Please post the data file and code you used to make the initial figure. You said y...

Amplitude decrease after FIRRateConverter

@Yuhan Chiang, [edit: fix spelling errors] Please post the data file and code you used to make the initial figure. You said y...

circa un mese fa | 0

Risposto

Creating cartesian volumetric dataset from polar coordinates

@Eun, This is quite do-able. I know there are people on this site who are very much able to assist you. I have experience usi...

Creating cartesian volumetric dataset from polar coordinates

@Eun, This is quite do-able. I know there are people on this site who are very much able to assist you. I have experience usi...

circa un mese fa | 0

Risposto

Solve a system of coupled differential equations with ODE23s

@Thomas Stone-Wigg, Does your code run? Do you want help making it run at all, or help making it run better? If better, bette...

Solve a system of coupled differential equations with ODE23s

@Thomas Stone-Wigg, Does your code run? Do you want help making it run at all, or help making it run better? If better, bette...

circa un mese fa | 0

| accettato

Risposto

How to locate the bifurcation point of the flow

@Charles Taylor Taylor, You provided a quiver plot. Since you have a quiover plot, you obviously have the arrays X,Y,U,V. You...

How to locate the bifurcation point of the flow

@Charles Taylor Taylor, You provided a quiver plot. Since you have a quiover plot, you obviously have the arrays X,Y,U,V. You...

circa 2 mesi fa | 0

Risposto

heatmap help - how to display grouped data across 3 levels (LO, MED, HI) ?

@Douglas Leaffer, Make a single variable Vstat with three categories: LOW, MED, HIGH, rather than three separate variables. ...

heatmap help - how to display grouped data across 3 levels (LO, MED, HI) ?

@Douglas Leaffer, Make a single variable Vstat with three categories: LOW, MED, HIGH, rather than three separate variables. ...

circa 2 mesi fa | 0

Risposto

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

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

circa 2 mesi fa | 1

| accettato

Risposto

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

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

circa 2 mesi fa | 0

Risposto

data fitting with multiple independent variables

@Daniele Sonaglioni, [edit: correct spelling error] Your model includes two global parameters (p1, p2) and three parameters th...

data fitting with multiple independent variables

@Daniele Sonaglioni, [edit: correct spelling error] Your model includes two global parameters (p1, p2) and three parameters th...

circa 2 mesi fa | 0

Risposto

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

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

circa 2 mesi fa | 0

Risposto

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

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

circa 2 mesi fa | 1

| accettato

Risposto

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

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

circa 2 mesi fa | 0

Risposto

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

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

circa 2 mesi fa | 2

| accettato

Risposto

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

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

circa 2 mesi fa | 0

Risposto

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

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

circa 2 mesi fa | 2

| accettato

Risposto

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

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

circa 2 mesi fa | 0

| accettato

Risposto

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

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

circa 2 mesi fa | 0

Risposto

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

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

2 mesi fa | 0

Risposto

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

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

2 mesi fa | 0

| accettato

Risposto

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

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

2 mesi fa | 2

Risposto

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

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

2 mesi fa | 0

| accettato

Risposto

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

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

2 mesi fa | 1

Risposto

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

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

2 mesi fa | 0

| accettato

Risposto

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

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

2 mesi fa | 0

| accettato

Risposto

FFT from CSV data file

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

FFT from CSV data file

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

2 mesi fa | 1

Risposto

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

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

2 mesi fa | 0