what value i can give to nsdec so i can run this program ?

1 回表示 (過去 30 日間)
narimen boucenna
narimen boucenna 2020 年 9 月 25 日
編集済み: narimen boucenna 2020 年 9 月 25 日
so i have this program but i can't run it bcz i don't have the value of nsdec
clc
clear all
close all
trls=poly2trellis(3,[5 7]);
len=1000;
msg=randint(len,1);
cod =convenc(msg,trls);
tcode=-2*cod+1;
ncode=awgn(tcode,8,'measured',1234);
decoded=vitdec(ncode,trls,3,'cont','hard');
decoded = vitdec(ncode,trls,3,'cont','soft',7);
[number,ratio]=biterr(decoded(3+1:end),msg(1:end-3));
Ps: im using matlab 2009 and im wondering if it's the reason

回答 (0 件)

カテゴリ

Help Center および File ExchangeError Detection and Correction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by