Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How can I do this problem of arrays?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Walter Roberson
el 16 de Oct. de 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 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!