how to manage matrix construction?
1 view (last 30 days)
Show older comments
hi guys

i need a code to construct this matrix, the code should allow the user to insert h1,h2...h(n-1)
0 Comments
Accepted Answer
More Answers (1)
Star Strider
on 20 Nov 2014
4 Comments
Star Strider
on 25 Nov 2014
I have no idea what you’re doing. To make it binary with the randi function, change that line to:
len = 4; % Length of number string
h = randi([0 1],1,len);
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!