How do I make the user input values into a matrix?
古いコメントを表示
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
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Whos についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!