How to extract non complex number from an array?

if I have an array which have complex number and non complex number like
A = [2.2, 2+3i, 2-3i]
I want only 2.2 in A, i.e. A = 2.2

回答 (1 件)

カテゴリ

ヘルプ センター および File ExchangeData Types についてさらに検索

質問済み:

2020 年 10 月 17 日

回答済み:

2020 年 10 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by