How to i convert complex single into complex double?

33 ビュー (過去 30 日間)
Faheem Ur Rehman
Faheem Ur Rehman 2021 年 7 月 5 日
コメント済み: Faheem Ur Rehman 2021 年 7 月 6 日
I need dataset in complex double form to test the pretrained model. but when i prepare the dataset it is saved in the complex sigle from. i have attached the .mat file for furter proceding.

採用された回答

KSSV
KSSV 2021 年 7 月 5 日
Read about the function double.
If x is your single signal.
x_double = double(x) ;

その他の回答 (1 件)

Chunru
Chunru 2021 年 7 月 5 日
frame = single(3+4i);
% Convert to double
frame = double(frame)
frame = 3.0000 + 4.0000i
class(frame)
ans = 'double'

カテゴリ

Help Center および File ExchangePower and Energy Systems についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by