Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
How can I do this problem of arrays?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Walter Roberson
le 16 Oct 2016
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 commentaires
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!