**Statistics**

RANK**178**

of 249,619

REPUTATION**494**

CONTRIBUTIONS

**7** Questions

**237** Answers

ANSWER ACCEPTANCE **
71.43%
**

VOTES RECEIVED**76**

RANK**1,364** of 17,359

REPUTATION**1,245**

AVERAGE RATING**3.20**

CONTRIBUTIONS**5** Files

DOWNLOADS **19**

ALL TIME DOWNLOADS**12349**

RANK

of 103,355

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Unexpected power spectrum of a signal with uniform random amplitude values

@Vlad Atanasiu, You are correct that the power spectrum of a random signal is expected to be approximately flat. However, the ...

6 days ago | 0

| accepted

Hi, can anyone help me to program a code for the equation with initial and boundary conditions using finite difference method

@Nur Nadhirah Syed Malik, See attached. I have left out some parts, because this sounds like a homework assignment, and you wil...

16 days ago | 0

About FFT of a wave

@Daniel Wanesh, Fm = 2*10^6; Em = 4; t = 0 : 5.5*10^-7 : 1*10^-4; ym = Em.*cos(2*pi*Fm*t); Ym=fft(ym); %compute the disc...

17 days ago | 0

| accepted

How to assess frequency stability of sung notes while keeping frequency precision under the possiblity that a vibrato (frequency modulation) is present.

@Jonas, I put my notebook computer on a piano and reorded while I played the notes CDEFGA. File attached. I used this file as an...

17 days ago | 0

Curve fitting with two variables

@Kishor Kumar Johari, Here is a sample solution. It uses calcZ(), which I posted previously, and it uses the simulated data fi...

19 days ago | 0

How to assess frequency stability of sung notes while keeping frequency precision under the possiblity that a vibrato (frequency modulation) is present.

@Jonas, Are you willing to post an example file of such a recoridng? Do you have an external reference signal, like a trigger,...

19 days ago | 0

Skip analysis when you have NaN or 0

@luccas santos, a=1; %try replacing "1" with "0" or "NaN" if ~(isnan(a) || a==0) disp('a is not NaN and is not 0.') els...

21 days ago | 1

Adding sine signal to dynamic signal

@Nurullah Çetin, dt=0.5; %time step (s) t=0:dt:100; %time (s) tlag=10; %lag (s) x=rand(1,length(t)); y=z...

21 days ago | 0

Similarity Comparison to Determine Accuracy

@mustafa can Kurt, The image you provided only shows two bad and two good examples. Even if we had four examples of each, thi...

21 days ago | 1

| accepted

How can I record the values of pa and p0 in a table in this code?

@M G, see attached. It runs. It produces the console output below. It also produces the plot below. There are comments in th...

27 days ago | 1

| accepted

How do you perform generic value in MATLAB?

@Luiz Fernando Vieira dos Santos, What is "fi()" in the first line of your code? I am not sure I understand your question. ...

28 days ago | 0

Red freq audio file

@Blue MU, Sounds like a good project. Your code looks like a good first step. What happens when you run your code? Do you get...

28 days ago | 0

How can I record the values of pa and p0 in a table in this code?

@Mustapha Gharib, plot(pa35/133.322,p035/133.322,'ro') The command above wil work if pa35 and p035 are vectors of the same len...

28 days ago | 1

Getting different plot ranges

@Nathaniel Porter, T=readtable('glucose.csv'); %read file into table T You will see that T has columns named date, time, gluc...

28 days ago | 0

| accepted

Question

using logical indexing to find events

I have three vectors of the same length: t, x, y. I also have tevent, whose elements are a subset of the elements in t. Can I u...

1 month ago | 3 answers | 0

### 3

answersIncompatible Indices when updating matrix in the loop

@Mouath Abu-Daoud, On the line in question, you are assigning vector xdft (right hand side) to one element of array PDarray(). ...

1 month ago | 0

| accepted

Find the divergence of a vector field f=xyi+yzj+zxk

@Akinchay Vikas Jain, Your question looks like a homework or exam problem, which is not the purpose of this site. Also, you d...

1 month ago | 0

How to divided the signal to matrix where contain on rows and columns .

@Rasheed Majeed, Create a signal of length 102400: y=rand(102400,1); Change the shape to 100 columns: y=reshape(y,[1024,100]...

1 month ago | 0

Problem Defining Function (Time Shift)

@selin oktay, Here is a rewrite of your function that works like yours worked for scalat t, but it also works if t is a vector....

1 month ago | 0

Problem Defining Function (Time Shift)

@selin oktay, in your first section of code, I think you meant to write "T/2" not T2. In your second sement of code, add "end"...

1 month ago | 0

indicating when data reaches a certain threshold

@Perri Johnson, Here is ground reaction force for 10 second sampled at 2.5 kHz. (Really one step, duplicated to make 10.) cle...

1 month ago | 1

indicating when data reaches a certain threshold

@Perri Johnson SInce you did not provide data I will provide some data=load('grf_z_raw.txt'); t=data(:,1); y=data(:,2); plot...

1 month ago | 1

indicating when data reaches a certain threshold

@Perri Johnson FYI here's a paper on determining ground contact time. https://pubmed.ncbi.nlm.nih.gov/20478742/ Will get back...

1 month ago | 1

Submitted

findpeaksInterp

Plug-in substitute for findpeaks(). Uses parabolas to interpolate to estimate "true" peaks.

1 month ago | 9 downloads |

Lomb Scargle Periodogram gives me an unexpected peak in the final plot

@Loren99, Lomb-Scargle is not the way I would estimate the spectrum from this data. Lomb-Scargle is great when there is missing...

1 month ago | 2

Lomb Scargle Periodogram gives me an unexpected peak in the final plot

@Loren99, I would interpolate your signal at 3 second intervals.* Then I would estimate the spectrum of the interpolated signal...

1 month ago | 0

Simulating earth rotating the sun with eulers method.

@Roble Noor, In your code, init_speed=0; %... init_angular_velocity=1.99e-7; init_speed=0 is wrong. The Earth will be pul...

1 month ago | 1

| accepted

Submitted

Remove Undercuts

Remove undercuts from an x,y data set. This can make it possible to interpolate a data set that otherwise could not be.

1 month ago | 3 downloads |

Understanding the DFT of a complex-valued time signal

@Martin Doherty, the FFT of your complex sequence is zero for negative frequencies (i.e. for frequencies above the Nyquist frequ...

1 month ago | 0