how to manage matrix construction?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Più risposte (1)
Star Strider
il 20 Nov 2014
4 Commenti
Star Strider
il 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);
Vedere anche
Categorie
Scopri di più su Numeric Types in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!