progrem witch sort matrix from user
古いコメントを表示
hey guys
i have a big problem here
i need to write a progrem witch get matrix from user non stop until he writes "0" (not as part of the matrix , only the num "0"
after i get the matrix's i need to sort them by there sum in acending order (the first mat the user wrote will be the one with the smallest sum )
for somereason nothing worked ive been working on it for 6 hours in diffirnent ways and manage to do harder thing
please help me
thx
4 件のコメント
James Tursa
2021 年 11 月 8 日
Please post the code you are currently using and explain the specific problems you are having. Then we can help fix up your code.
shay shemesh
2021 年 11 月 9 日
Rik
2021 年 11 月 9 日
You're trying to test it it is zero before it is created. You need to create mat{i} first.
shay shemesh
2021 年 11 月 9 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Shifting and Sorting Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!