Info
此问题已关闭。 请重新打开它进行编辑或回答。
Pls help in solving the below question
2 次查看(过去 30 天)
显示 更早的评论
Generate 10,000 discrete random variables uniformly distributed in the set {1,2,3,4}. Assign each outcome in this set to one of the signals {(1,1),(1,-1),(-1,1),(-1,-1)}. the sequence of discrete random variables then produce sequence of 10,0000 signal points X.
0 个评论
回答(2 个)
G Newton
2016-8-15
mygeneration=randi(4,1000);
thissig=your signal;
make another cell by reshaping(thissin,size(mygernation))
for i=1=size(mygeneration,2)
%%here try to assing by using for loop
end
1 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!