フィルターのクリア

how to change this value in number??????

3 ビュー (過去 30 日間)
Prakash Choudhary
Prakash Choudhary 2019 年 6 月 26 日
コメント済み: KALYAN ACHARJYA 2019 年 6 月 28 日
X=1.0202e+05 - 6.1123e+11i

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 6 月 26 日
編集済み: KALYAN ACHARJYA 2019 年 6 月 26 日
>> format long g
>> X=1.0202e+05 - 6.1123e+11i
X =
102020-611230000000i
Here i denotes complex, which is a number
The display number depends on how you set the format (you can change the default setting)
Example:
>> format long
or
>> format short
For detail please see the Matlab documentation.
To avoid i (Complex Number Notation), you have to deal with individually
  • real(X)- Gives Real Part
  • imag(X) Gives Imaginary Part
Example:
>> real(X)
ans =
102020
>> imag(X)
ans =
-611230000000
Hope it helps!
  6 件のコメント
Prakash Choudhary
Prakash Choudhary 2019 年 6 月 27 日
so we only use the real number here for multiplication??
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 6 月 28 日
No, please read Multiplying a complex number by a real number, it multiply both real and imag part.
X=1.0202e+05 - 6.1123e+11i >> Complex number
Y=X*2, here 2 is real number

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by