필터 지우기
필터 지우기

how to display answer in a particular format

조회 수: 2 (최근 30일)
Elysi Cochin
Elysi Cochin 2013년 3월 18일
on calculation i obtain a value as
0.2957 0.5700 0.8637 0.9657
0.1917 0 + 0.1514i 0 + 0.4231i 0 + 0.5181i
if it contains real and imaginary part i want only the value 0.1514 to be stored in a variable.... how to do that....

채택된 답변

Image Analyst
Image Analyst 2013년 3월 18일
yourVariable = imag(value(6)); % Get imaginary part of element #6.

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by