PERFORMANCE OF WIRELESS DIGITAL COMMUNICATION SYSTEM CORRUPTED BY NOISE

2 Ansichten (letzte 30 Tage)
kiroro00
kiroro00 am 11 Jan. 2023
Beantwortet: Mohamed am 6 Feb. 2023
% Function to implement coherent ASK detection for 1 packet
% of chosen length
function [s]=binseq_det(fsamp,bit_rate,x,ndelay)
Nbit=round(fsamp/bit_rate);
Npack=length(x);
x0=zeros(1,2*Npack);
sig0=zeros(1,2*Npack);
sig1=zeros(1,2*Npack);
x0_det=zeros(1,2*Npack);
x1_det=zeros(1,2*Npack);
s=zeros(1,round(Npack/Nbit));
for k=1:Npack
x0(k)=x(k);
end
I am trying to measure the bit rate error when digital communication is corrupted by noise, but I got a 'not enough input arguments' error. Would really appreciate any kind of help and thank you in advance.

Antworten (1)

Mohamed
Mohamed am 6 Feb. 2023
% Function to implement coherent ASK detection for 1 packet
% of chosen length
function [s]=binseq_det(fsamp,bit_rate,x,ndelay)
Nbit=round(fsamp/bit_rate);
Npack=length(x);
x0=zeros(1,2*Npack);
sig0=zeros(1,2*Npack);
sig1=zeros(1,2*Npack);
x0_det=zeros(1,2*Npack);
x1_det=zeros(1,2*Npack);
s=zeros(1,round(Npack/Nbit));
for k=1:Npack
x0(k)=x(k);
end

Kategorien

Mehr zu Propagation and Channel Models finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by