필터 지우기
필터 지우기

QPSK Demodulation of Modulated .wav file

조회 수: 6 (최근 30일)
muhammad ahmad
muhammad ahmad 2021년 6월 22일
댓글: muhammad ahmad 2021년 6월 24일
I have a QPSK modeulated .wave file that i need to demodulate using simulink . how can i use this file so in simulink to access qpsk MODULATED DATA
  댓글 수: 2
Walter Roberson
Walter Roberson 2021년 6월 22일
What is the difference in file format between a .wav file that contains QPSK modulated data, compared to a .wav file that contains audio data?
In your Simulink diagram, is there a different signal type for QPSK modulated data, compared to unmodulated data?
muhammad ahmad
muhammad ahmad 2021년 6월 23일
The .wav file that contain audiodata has a clear sound output if we play it while a modulaed .wav file has noisy output we cant hear any clear sound of it. linking the specturum plots for both type of files to eloborate the point

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2021년 6월 24일
Suppose you were doing a physics experiment, and that for one of the components you had distilled water, and for another component you had melted snow (for example you might be studying how heavy metals from pollution accumulate in snow.)
Question: do you need a different kind of container for the distilled water compared to the melted snow? Or do you use the same kind of container?
Question: do you need a different kind of pipe for the distilled water compared to the melted snow? Or do you use the same kind of pipe?
If one of the two components was liquid hydrogen, then you very definitely would use different kinds of containers and different kinds of pipes, so there are circumstances under which they need to be different. But is melted snow compared to distilled water sufficiently different for that purpose?
Now: you have a wav file that contains data that has been processed to QPSK modulate it. And you have another wav file that contains data that has not been QPSK modulated. Do the two need different kinds of files, and different kinds of Simulink signals? Or can use the same kind of file and the same kind of Simulink signal?
... because if they can use the same kind of file and signal, then your question should not be specifically how to get QPSK into the SDR decoder: your question should just be how you can get audio data from a file into Simulink, and what (if any) steps you need to turn the output of the audio file reader into the kind of signal used by the SDR decoder.
I know that recently someone replied to you with the Simulink block needed to read an audio file (with whatever meaning that audio encodes) into a Simulink double() frame . So the question should now perhaps be what kind of input signal is needed by the SDR decoder? If If you have a buffer of Simulink double() signal representing QPSK modulated data, what has to be done to transform that double() vector into something that the SDR QPSK demodulator can use?
  댓글 수: 3
Walter Roberson
Walter Roberson 2021년 6월 24일
If you look at sdruqpskrx() and update diagram, you can see that the output of the SDRu receiver is datatype double. So if you replace the receiver block with something that generates a double signal to pass over to the receiver, then you do not need to be concerned over whether it is a timeseries or not.
QPSK expects complex data, but your .wav file will be real-valued. In such cases it is common for the wav file to have two channels, with the left channel being the real-valued component and the right value being the complex-valued component.
muhammad ahmad
muhammad ahmad 2021년 6월 24일
i am going to try this i will transmit signals using USRP and recieve through RTL SDR

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Communications Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by