How to seperate real and Imagenery parts from equation???

% I have the following equation
syms a b
p=(a+1i*b)*3.142*tan((a+1i*b)*3.142)-1i*1.23*340*sqrt((a+1i*b)^2*3.142^2+(3.142/0.8)^2+(3.142/0.6)^2)
% I tried with real(p) and imag(p) but not getting answer
% Thanx in advance

Answers (0)

This question is closed.

Asked:

on 6 Oct 2015

Closed:

on 6 Oct 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!