How to i convert complex single into complex double?

48 visualizaciones (últimos 30 días)
Faheem Ur Rehman
Faheem Ur Rehman el 5 de Jul. de 2021
Comentada: Faheem Ur Rehman el 6 de Jul. de 2021
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.

Respuesta aceptada

KSSV
KSSV el 5 de Jul. de 2021
Read about the function double.
If x is your single signal.
x_double = double(x) ;

Más respuestas (1)

Chunru
Chunru el 5 de Jul. de 2021
frame = single(3+4i);
% Convert to double
frame = double(frame)
frame = 3.0000 + 4.0000i
class(frame)
ans = 'double'

Categorías

Más información sobre Power and Energy Systems en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by