# MATLAB PROBLEMS pls answer this as soon as possible i can pay you

Status
Not open for further replies.

#### prsjoth_2011

##### Newbie level 4
hi guys

please help me to solve this problems as soon as possible, here i am attaching the problems for your perusal. i can pay RS 3000 for solving this problems with in one or two days. so please look at it and reply to

prajoth.k@gmail.com

#### Attachments

• Doc1.pdf
289.6 KB · Views: 4
Last edited:

#### ckshivaram

its difficult to view.. can put attach as pdf.........

#### prsjoth_2011

##### Newbie level 4
pls finf the attached pdf file

#### Attachments

• Doc1.pdf
289.6 KB · Views: 8

#### prsjoth_2011

##### Newbie level 4
hi shivram, i attached the pdf file ,please go through it.

#### prsjoth_2011

##### Newbie level 4
Anybody ??? Please do the first question it is urgent

#### juvan

##### Newbie level 5
The first one is very easy I think, just use the euler's formula: e^(j*x) = cos(x) + j*sin(x) and then separate the imaginary part from the real part and plot them seperatly, that is as far as the a) goes. So for the first part e^(j*2*pi*t/16) = cos(2*pi*t/16) + j*sin(2*pi*t/16), and similarly for the second part.

1.) Euler's formula - Wikipedia, the free encyclopedia

Hoped it helped a bit.

#### prsjoth_2011

##### Newbie level 4
thank you very much juvan, could you please give the coding, it will be a gr8 help for me

#### juvan

##### Newbie level 5
Sorry man, I was out, but this is the code for the first part 1.a)

Code:
syms t

x = exp(i*2*pi*t/16) + exp(i*2*pi*t/8);

real_x = cos(2*pi*t/16) + cos(2*pi*t/8);  % This was done by hand (don't know if there is a function for euler's formula)
imag_x = sin(2*pi*t/16) + sin(2*pi*t/8);  % This also

ezplot(t, real_x, [0 20]);  % This part plots the real part of x(t)  from 0 to 20
figure
ezplot(t, imag_x, [0 20]); % This part plots the imaginary part of x(t)  from 0 to 20

% I !THINK! this should do the trick for the 1. a)

Status
Not open for further replies.

Replies
1
Views
3K
Replies
3
Views
1K
Replies
0
Views
823
Replies
0
Views
2K
Replies
0
Views
873