Complex Valued Sequence - Matlab

Thread Starter

tquiva

Joined Oct 19, 2010
176
I am given the problem:



In part (a), for the complex valued sequence, I have the following code:

Rich (BB code):
n=5; star=-2*n:2*n;
seq=(2*star)+i*(2*star+1)
seq_conj=conj(seq)
subplot(121),plot3(star,real(seq),imag(seq)),xlabel('*'),ylabel('seq
[*]'),title('Sequence, n=5')
subplot(122),plot3(star,real(seq_conj),imag(seq_conj)),xlabel('*'),ylabel('seq_conj
[*]'),title('Conj. of Sequence, n=5')
I know that a complex valued sequence has the form:
x(n)=x1(n)+ix2(n) where x1(n)=g(2n) and x2(n)=g(2n+1)

My question is, is my sequence a correctly written out complex valued sequence? And did I correctly obtain it's conjugate?
 

Attachments

Last edited:
Top