How do I make the user input values into a matrix?
Ältere Kommentare anzeigen
HELLO!!!
kinda new to MATLAB, and I'm trying to figure out a way to ask the user to fill in a matrix and at the same time store something like a counter to know how many values are there in the matrix. from that, I could be able to find out if the number of values entered are odd or even, and how to absolute each value.
for example: input values: 9 -8 7 -6 5 these are odd numbers and there abs values are 9 8 7 6 5
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Whos finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!