Signal processing in matlab, what is signal length ?

Click For Summary
The discussion centers on constructing a signal in MATLAB with a specified length of 8192 samples, derived from three frequencies. The term "signal length" refers to the number of discrete samples used to represent the signal, which is often expressed in powers of 2 for computational efficiency in digital signal processing. Participants seek clarification on how to define and implement this length in their MATLAB code. The question also highlights a need for guidance on using MATLAB to create the signal and compute its Discrete Fourier Transform (DFT). Understanding these concepts is essential for successfully completing the homework assignment.
bert2002
Messages
16
Reaction score
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
 
Physics news on Phys.org
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.
 
thanks, anyone have any idea how i give my signal this length ?
 
Last edited:
Thread 'Correct statement about size of wire to produce larger extension'
The answer is (B) but I don't really understand why. Based on formula of Young Modulus: $$x=\frac{FL}{AE}$$ The second wire made of the same material so it means they have same Young Modulus. Larger extension means larger value of ##x## so to get larger value of ##x## we can increase ##F## and ##L## and decrease ##A## I am not sure whether there is change in ##F## for first and second wire so I will just assume ##F## does not change. It leaves (B) and (C) as possible options so why is (C)...

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
19
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 15 ·
Replies
15
Views
4K