필터 지우기
필터 지우기

How to i convert complex single into complex double?

조회 수: 56 (최근 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 CenterFile Exchange에서 Waveform Generation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by