Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How can I do this problem of arrays?
1 回表示 (過去 30 日間)
古いコメントを表示
Greetings! I need to do this problem, but the problem is that I dont have idea how to do it without commands mentioned below.
Write a function that receives an array of any size and maximum and minimum return of all numbers in the matrix. Schedule your function using loops, DO NOT use the predefined functions allowed Matlab: min, max, sort, sortRows.
Please help me! I am a premier! This is not my concentration and It's very difficult for me. Thanks a lot!
0 件のコメント
回答 (1 件)
Walter Roberson
2016 年 10 月 16 日
You can get the outline of the code from http://www.mathworks.com/matlabcentral/answers/307479-how-to-use-if-statement-to-pick-up-3-to-4-values-from-the-data-that-nearest-to-the-mean#answer_239173 which is code that finds the 4 smallest values of something.
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!