complex number separate the real signal about imag signal

조회 수: 7 (최근 30일)
abdullah qasim
abdullah qasim 2019년 1월 4일
댓글: Muhammad Afdal Bau 2023년 2월 1일
I have a problem with the complex number
comp=a+ib
a1+ib1
a2+ib2
...
...
..
an+ibn
then I separated the real signal about the imaginary signal like this;
real(comp)
imag(comp)
the result is
a
a1
a2
.
.
an
and
b1
b2
.
.
bn
my problem how can I put the sequence the real signal after imag signal as the follow
a
a1
a2
.
.
an
b1
b2
.
.
b2n
  댓글 수: 1
Muhammad Afdal Bau
Muhammad Afdal Bau 2023년 2월 1일
how can i separated about real and imaginary part plot of quaternion function in laplacian using matlab

댓글을 달려면 로그인하십시오.

채택된 답변

Jacob Shulman
Jacob Shulman 2019년 1월 4일
Im not really sure what your asking but if the real part and imaginary part are stored in different arrays you can combine them using
a=real(comp);
b=imag(comp)
c=[a,b];
or look into using the cat function to concatenate them

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Transforms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by