필터 지우기
필터 지우기

ADLAM PLUTO baseband modulation

조회 수: 13 (최근 30일)
JOB
JOB 2020년 3월 1일
댓글: ARHUM AHMAD 2022년 5월 30일
Hi, everyone, I'm new to ADLAM PLUTO. I want to transmit/receive Baseband signals (an array of complex numbers) using ADLAM pluto.
The following MATLAB code was used
clc; close all;clear all;
% Setup Receiver
rx=sdrrx('Pluto','OutputDataType','double','SamplesPerFrame',2^15);
% Setup Transmitter
tx = sdrtx('Pluto','Gain',-21);
% Transmit Random
myrandom=(randi([0,1],1,10)+randi([0,1],1,10)*i);
tx.transmitRepeat(myrandom());
% Setup Scope
samplesPerStep = rx.SamplesPerFrame/rx.BasebandSampleRate;
steps = 20;
ts = dsp.TimeScope('SampleRate', rx.BasebandSampleRate,...
'TimeSpan', samplesPerStep*steps,...
'BufferLength', rx.SamplesPerFrame*steps);
sa = dsp.SpectrumAnalyzer;
sa.SampleRate = rx.BasebandSampleRate;
for k=1:steps
ts(rx());
sa(rx());
end
This code produced the following error message
Error using comm.libiio.AD9361.tx/validateInputsImpl
The number of columns of the input signal must match the number of
channels selected for single-channel settings.
Error in comm.libiio.AD9361.tx/transmitRepeat
How can it be done using transmitrepeat() command? Can I have a choice of carrier frequency and type of modulation for this?
How can "The number of columns of the input signal must match the number of channels selected for single-channel settings." be specified in sdrtx?
With what commands can the transmitted signals can be made available for further MATLAB processing after receiving it?
Thanks in advance!
  댓글 수: 1
ARHUM AHMAD
ARHUM AHMAD 2022년 5월 30일
Try to implement using simulink.

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

답변 (1개)

nicolas pellanda
nicolas pellanda 2021년 4월 27일
try to write the vector in input in your transmit system tx (tx.transmitRepeat()) as a column vector. For doing this try to write
myrandom=(randi([0,1],1,10)+randi([0,1],1,10)*i);
myrandom=myrandom';
tx.transmitRepeat(myrandom());

카테고리

Help CenterFile Exchange에서 Analog Devices ADALM1000 Support from Data Acquisition Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by