abhigopal
Member level 3
signal sampling in matlab
Hi all
I need to sample a signal that is actually a generated by adding some sine waves together, say abt 5 of them all having different frequencies.
for generating these waves, i did the following
t=0:0.1:1 % this the samples tht need to be generated for sine wave
x=sin(2*pi*10*t) % 10 is the freq
now for sampling this signal at say 25 hz or any freq greater than 20, what do i do? do i need to modify t values or write some extra piece of code.
I know this is a very basic question but I am having doubts all of a sudden
An early reply is appreciated
Thanks in advance
Abhi
Hi all
I need to sample a signal that is actually a generated by adding some sine waves together, say abt 5 of them all having different frequencies.
for generating these waves, i did the following
t=0:0.1:1 % this the samples tht need to be generated for sine wave
x=sin(2*pi*10*t) % 10 is the freq
now for sampling this signal at say 25 hz or any freq greater than 20, what do i do? do i need to modify t values or write some extra piece of code.
I know this is a very basic question but I am having doubts all of a sudden
An early reply is appreciated
Thanks in advance
Abhi