I want to extract the real part of a known function. Can anyone point out the reason for which Matlab doesn't want to separate the real and imaginary part of the complex function?
clc, clearsyms w e s m R r I b t z b;k = i^(3/2)*sqrt(i*w*s*m)*sqrt(1+(i*w*e)/s);J1 = besselj(1,k*R);J0 = besselj(0,k*r);funct = real((k*J0*I*exp(i*(w*t+b*z)))/(2*pi*R*J1));funct
Best Answer