How to distribute elements of a vector to each of output variable?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
x = [1,2,3,4,5]
[a,b,c,d,e] = deal(x(1:5))
How do I write code such that a=1, b=2, c=3, d=4, e=5?
1 Commento
Vedere anche
Categorie
Scopri di più su FPGA, ASIC, and SoC Development 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!