• Support PF! Buy your school textbooks, materials and every day products Here!

Signal processing in matlab, what is signal length ?

  • Thread starter bert2002
  • Start date
  • #1
16
0

Homework Statement



Use Matlab to construct a signal of length 2^13 = 8192 that contains only three frequencies:

x=0.5*sin(2*pi*200*t)+0.2*sin(2*pi*455*t)-0.3*sin(2*pi*672*t)

Compute and plot the absolute value of the DFT.

What does the question mean by signal length and why is it expressed in powers of 2 ? x is clearly my signal but how do i define its length ?

Thanks
 

Answers and Replies

  • #2
NascentOxygen
Staff Emeritus
Science Advisor
9,244
1,071
I would think it couldn't mean anything other than the number of samples in the period of that complex waveform. Does that make sense?

I don't know (i.e. remember) Matlab.
 
  • #3
16
0
thanks, anyone have any idea how i give my signal this length ?
 
Last edited:

Related Threads for: Signal processing in matlab, what is signal length ?

  • Last Post
Replies
6
Views
886
Replies
9
Views
2K
Replies
4
Views
2K
  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
3
Views
5K
  • Last Post
Replies
1
Views
922
Replies
15
Views
2K
Top