Community Profile

photo

Hassan Ali Shah


Active since 2015

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


What is the problem in this code?
f0=100; f=(0:f0/40:f0*2); Ts=1/fs; n=0:8; xs = 5*cos(2*pi*f0*n*Ts); i=fft(xs); plot(f,abs(i(1:81)))

7 years ago | 1 answer | 0

1

answer