how to manage matrix construction?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
janny
am 20 Nov. 2014
Kommentiert: Guillaume
am 25 Nov. 2014
hi guys
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146165/image.png)
i need a code to construct this matrix, the code should allow the user to insert h1,h2...h(n-1)
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Star Strider
am 20 Nov. 2014
4 Kommentare
Star Strider
am 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);
Siehe auch
Kategorien
Mehr zu Numeric Types 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!