Extract Real and Imaginary Equation with MATLAB

  • Thread starter fox2005eng
  • Start date
  • #1
Extract Real and Imaginary Equation with MATLAB !!!!!

Hi all,

How to write M-files that can extract the real and imaginary components, or the magnitude and phase, of a symbolic expression for a complex signal with MATLAB.

x(t) = e^j*2*pi*t/16 + e^j*2*pi*t/8 <<< equation example

Thanks In Advance.

Bye
 

Answers and Replies

  • #2
100
0


You shouldn't have to write an m-file to do this. You should be able to use the real() and imag() functions to extract the real and imaginary components.
 
  • #3


You shouldn't have to write an m-file to do this. You should be able to use the real() and imag() functions to extract the real and imaginary components.

how?

would u please gimee code example ?

bye
 

Related Threads on Extract Real and Imaginary Equation with MATLAB

Replies
1
Views
787
Replies
3
Views
2K
Replies
2
Views
4K
  • Last Post
Replies
3
Views
1K
Replies
3
Views
1K
  • Last Post
Replies
9
Views
4K
Replies
1
Views
2K
Replies
1
Views
1K
  • Last Post
Replies
1
Views
2K
Replies
0
Views
4K
Top