may i ask how to separate a value into two different values? For example, 12 can be separate into 8 and 4..
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
loong seow li
am 22 Apr. 2016
Kommentiert: loong seow li
am 23 Apr. 2016
may i ask how to separate a value into two different values? For example, 12 can be separate into 8 and 4..
2 Kommentare
Stephen23
am 22 Apr. 2016
12 can be separated into an infinite number of numbers. What is so special about 8 and 4 ?
Akzeptierte Antwort
Azzi Abdelmalek
am 22 Apr. 2016
Bearbeitet: Azzi Abdelmalek
am 22 Apr. 2016
If you mean how to do it randomly with integer numbers:
N=12
a=randi(N)
b=N-a
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices 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!