how can I create a complex matrix representing a grid of points with corners at -1 - i and 1 + i.
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to know how to create a complex matrix representing a grid of points with corners at -1 - i and 1 + i. I was confused by this question and I do not know how define i. Help me with the code.
댓글 수: 0
채택된 답변
KSSV
2021년 11월 19일
% Option 1
A = [-1-i;1+i]
% option 2
B = [-1-1i;1+1i] %1i is preferred
% option 3
R = [-1 ; 1] ; % real part
I = [-1 ; 1] ; % Imaginary part
C = R+1i*I
Also read about real and imag.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!