change from double (c) to double

hello, i'm natasha.
i need your help everyone.
i have research about wimax based OFDM using simulink. and i have problem about demodulator. my demodulator in simulink get double complex, but i want to convert that into double. can anyone help me?

2 件のコメント

Jan
Jan 2013 年 7 月 23 日
Do you mean the conversion into "real"? Even complex values can have the type double.
bashar
bashar 2013 年 7 月 23 日
in the dialogue box of demodulator there is option of data types >>output and then chose the type of your data that you want..

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

回答 (1 件)

the cyclist
the cyclist 2013 年 7 月 23 日

0 投票

Not sure about Simulink, but in MATLAB you can use either real() or abs(), depending on whether you want to just drop the imaginary part, or take the magnitude.

質問済み:

2013 年 7 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by