Answered

How to save all the simulated iterations (output of loop) togather?

@Nisar Ahmed, Make a 3D array. vp0all=zeros(115,50,5); for i=1:5 vp0=rand(115,50); %compute vp0 vp0all(:,:,i)=vp0;...

How to save all the simulated iterations (output of loop) togather?

@Nisar Ahmed, Make a 3D array. vp0all=zeros(115,50,5); for i=1:5 vp0=rand(115,50); %compute vp0 vp0all(:,:,i)=vp0;...

18 days ago | 0

| accepted

Answered

How estimate function derives initial estimates using standard time series techniques? what are these standard time series techniques?

@mhd z, It's complicated. The methods usd to generate initial estimates are described here: https://www.mathworks.com/help/eco...

How estimate function derives initial estimates using standard time series techniques? what are these standard time series techniques?

@mhd z, It's complicated. The methods usd to generate initial estimates are described here: https://www.mathworks.com/help/eco...

19 days ago | 0

Answered

How to calculate sway area rate for center of pressure

@chris pamp, Since you already have the data in Excel. there is no need for Matlab. Do the calculation in Excel, using equatio...

How to calculate sway area rate for center of pressure

@chris pamp, Since you already have the data in Excel. there is no need for Matlab. Do the calculation in Excel, using equatio...

19 days ago | 1

| accepted

Answered

Convert Equation to matlab

This is motion capture or force plate data. AP, anterior-posterior. ML, medial-lateral. The jerk is numerically integrated over ...

Convert Equation to matlab

This is motion capture or force plate data. AP, anterior-posterior. ML, medial-lateral. The jerk is numerically integrated over ...

20 days ago | 1

Answered

How to detect heel strike and toe off from left/right vertical force data?

@Mario, yuou might want to check out this article on this topic. (I am one of the authors.) https://pubmed.ncbi.nlm.nih.gov/204...

How to detect heel strike and toe off from left/right vertical force data?

@Mario, yuou might want to check out this article on this topic. (I am one of the authors.) https://pubmed.ncbi.nlm.nih.gov/204...

20 days ago | 1

| accepted

Answered

difference between DLSTFT and STFT function

Mehreb, see my comment please. Good luck with your work.

difference between DLSTFT and STFT function

Mehreb, see my comment please. Good luck with your work.

20 days ago | 0

Answered

How to simulate Poisson Distribution Process?

@Safia Yes. You can usee the binomial (or is it Bernoulli?) approximation: Chop each minute into N equal segments, where lambda...

How to simulate Poisson Distribution Process?

@Safia Yes. You can usee the binomial (or is it Bernoulli?) approximation: Chop each minute into N equal segments, where lambda...

22 days ago | 1

Answered

Matrix containing results of polynomial function

@paul, I assume you have 6 (x,y) pairs and a quadratic fit. Your equations show A(2,1) and A(1,1) both multiplying series(1,:)...

Matrix containing results of polynomial function

@paul, I assume you have 6 (x,y) pairs and a quadratic fit. Your equations show A(2,1) and A(1,1) both multiplying series(1,:)...

22 days ago | 0

Answered

How to find mean and errorbars for scatter plot at various x values.

@Charlie Milford I don't understand the organization of Mat1 and Mat2. There are 13 x-values repeated many times among the 501...

How to find mean and errorbars for scatter plot at various x values.

@Charlie Milford I don't understand the organization of Mat1 and Mat2. There are 13 x-values repeated many times among the 501...

23 days ago | 1

Answered

How to plot a function on a 3D sphere?

@Wiqas Ahmad, [edit-correct typo] I cannot run the simplified code in your comment. That code seems to rely on P11 and P12 com...

How to plot a function on a 3D sphere?

@Wiqas Ahmad, [edit-correct typo] I cannot run the simplified code in your comment. That code seems to rely on P11 and P12 com...

23 days ago | 0

Answered

Make a loop from this code

@John, Perhaps you want to do a speed test comparing the vectorized code inyour function to a for-loop equivalent. Your code f...

Make a loop from this code

@John, Perhaps you want to do a speed test comparing the vectorized code inyour function to a for-loop equivalent. Your code f...

23 days ago | 0

Answered

Can complex non linear circuits be simulated using matlab code?

@Md. Golam Zakaria, Yes, this task can be done in Matlab. You have provided an outline of the outer and inner loops. Matlab h...

Can complex non linear circuits be simulated using matlab code?

@Md. Golam Zakaria, Yes, this task can be done in Matlab. You have provided an outline of the outer and inner loops. Matlab h...

1 month ago | 0

| accepted

Answered

Bar plot command to get results same as in PowerGUI FFT analysis bar (relative to fundamental)

@Michal Przybylski, What is this for? I ask because I have been guilty of providing too much assistance on this site to people...

Bar plot command to get results same as in PowerGUI FFT analysis bar (relative to fundamental)

@Michal Przybylski, What is this for? I ask because I have been guilty of providing too much assistance on this site to people...

1 month ago | 0

Answered

I have a very simple markov chain and I was wondering if there is a simplified equation for times spend in each state

@nobody, [edit: added a note about possibility of more than one equilibrium state] Let's note that your matrix would be applie...

I have a very simple markov chain and I was wondering if there is a simplified equation for times spend in each state

@nobody, [edit: added a note about possibility of more than one equilibrium state] Let's note that your matrix would be applie...

1 month ago | 0

Answered

Parameterize overlapping - cpsd()

@Amanda Santos, [edit: correcting my recommendation from overlap=floor(...) to overlap=ceil(...)] Yes this is reasonable. Yo...

Parameterize overlapping - cpsd()

@Amanda Santos, [edit: correcting my recommendation from overlap=floor(...) to overlap=ceil(...)] Yes this is reasonable. Yo...

1 month ago | 1

| accepted

Answered

I want to be able to calculate and plot the total interest if the extra payment each month is changing

@Jacob Wagner, Please add lots of comments to your code. Especially when you are asking for help. This will allow other to und...

I want to be able to calculate and plot the total interest if the extra payment each month is changing

@Jacob Wagner, Please add lots of comments to your code. Especially when you are asking for help. This will allow other to und...

1 month ago | 0

| accepted

Answered

iterative equation two unknown for parachute

@Suleyman Sahin, [edit: correct typographical errors] If you have 2 independent equations and 2 unknowns, you can solve. Matl...

iterative equation two unknown for parachute

@Suleyman Sahin, [edit: correct typographical errors] If you have 2 independent equations and 2 unknowns, you can solve. Matl...

1 month ago | 0

| accepted

Answered

Controlled Flight Into Terrain (CFIT)

@Manuel, Suppose you have an array whose values are the terrain elevations. For example: Elev=1000*membrane(1,300); %sam...

Controlled Flight Into Terrain (CFIT)

@Manuel, Suppose you have an array whose values are the terrain elevations. For example: Elev=1000*membrane(1,300); %sam...

1 month ago | 2

| accepted

Answered

I want to use MPPT In Wind system ?

@mekimah nabil, The yield is typically over a fixed time period such as one hour or one day. The units are energy - typically ...

I want to use MPPT In Wind system ?

@mekimah nabil, The yield is typically over a fixed time period such as one hour or one day. The units are energy - typically ...

1 month ago | 0

Answered

Finding peak of a noisy data

@mpz data=load('noisy.mat'); t=data.ans(:,1); x=data.ans(:,2); %extract the data plot(t,x,'-b'); grid on; hold on %plot ...

Finding peak of a noisy data

@mpz data=load('noisy.mat'); t=data.ans(:,1); x=data.ans(:,2); %extract the data plot(t,x,'-b'); grid on; hold on %plot ...

1 month ago | 0

Answered

Finding peak of a noisy data

@mpz, I see that you have experimented with some of the many options in findpeaks(). You may need to combine the options to re...

Finding peak of a noisy data

@mpz, I see that you have experimented with some of the many options in findpeaks(). You may need to combine the options to re...

1 month ago | 0

Answered

Using pca function to reconstruct vectors within and outside test set

@nms09, The code v1 = zeros(200, 200); cons = abs(rand()*10); for u = 1: 200 for v = 1:200 v1(u, v) = cons; ...

Using pca function to reconstruct vectors within and outside test set

@nms09, The code v1 = zeros(200, 200); cons = abs(rand()*10); for u = 1: 200 for v = 1:200 v1(u, v) = cons; ...

1 month ago | 0

Answered

[HELP] Statistics in MATLAB - Two way Mixed anova or something else ?

@John Doe, You're welcome. Thank you for your kind comment. To determine if treatment 1 is better than treatment 2 or treatm...

[HELP] Statistics in MATLAB - Two way Mixed anova or something else ?

@John Doe, You're welcome. Thank you for your kind comment. To determine if treatment 1 is better than treatment 2 or treatm...

1 month ago | 0

| accepted

Answered

How apply the conformal mapping? (circle to rectangular)

@Changwoo Lee, Is this a homework problem? The figure has an inconsistency. The left hand side shows a light blue region whos...

How apply the conformal mapping? (circle to rectangular)

@Changwoo Lee, Is this a homework problem? The figure has an inconsistency. The left hand side shows a light blue region whos...

1 month ago | 1

| accepted

Answered

I'm having trouble plotting the temperature field for a thin plate with border temperatures known.

@Lucas Resende, theta1 has dimensions 5x5. You define it with a loop over n=1:100. SInce there is no index in the assignment ...

I'm having trouble plotting the temperature field for a thin plate with border temperatures known.

@Lucas Resende, theta1 has dimensions 5x5. You define it with a loop over n=1:100. SInce there is no index in the assignment ...

1 month ago | 0

Answered

[HELP] Statistics in MATLAB - Two way Mixed anova or something else ?

@John Doe, Please consider my second comment below my answer. I meant to post it as an answer.

[HELP] Statistics in MATLAB - Two way Mixed anova or something else ?

@John Doe, Please consider my second comment below my answer. I meant to post it as an answer.

1 month ago | 0

Answered

Spectrogram Audio Movement Detection

@LabRat, You asked: "Is there an easy way to automatically detect..." No. There is not an easy way. As you know, a spectrogr...

Spectrogram Audio Movement Detection

@LabRat, You asked: "Is there an easy way to automatically detect..." No. There is not an easy way. As you know, a spectrogr...

2 months ago | 1

Answered

how to convert the seismic wave data in Excel to Fourier spectrum using filtering and sampling

@Changhyun Kim, In the script you posted, the first plot you generated was over-written by the second plot you generated. Addi...

how to convert the seismic wave data in Excel to Fourier spectrum using filtering and sampling

@Changhyun Kim, In the script you posted, the first plot you generated was over-written by the second plot you generated. Addi...

2 months ago | 0

Answered

how to convert the seismic wave data in Excel to Fourier spectrum using filtering and sampling

@Changhyun Kim., [edit: I adjusted the frequency-domain filtering to make the filtered X symmetric about the Nyquist frequency....

how to convert the seismic wave data in Excel to Fourier spectrum using filtering and sampling

@Changhyun Kim., [edit: I adjusted the frequency-domain filtering to make the filtered X symmetric about the Nyquist frequency....

2 months ago | 0

| accepted

Answered

Create ring mesh with specified size

@Lawson Bailey, Here is a ring-shaped mesh. Just for the heck of it, I have assigned a z-height as follows: where hw=(ro-ri)...

Create ring mesh with specified size

@Lawson Bailey, Here is a ring-shaped mesh. Just for the heck of it, I have assigned a z-height as follows: where hw=(ro-ri)...

2 months ago | 0