Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Modify the function myStats (from question-1) and write myStats_2 so that the input argument k is optional. In case this argument is omitted, then the function myStats_2 returns the smallest and the largest element in the myArray. Write a script he

1 Ansicht (letzte 30 Tage)
Modify the function myStats (from question-1) and write myStats_2 so that the input argument k is optional. In case this argument is omitted, then the function myStats_2 returns the smallest and the largest element in the myArray. Write a script helpMyStats_.m which reads all the elements of myArray and the value k from the user and displays the result by calling myStats_2 function with the appropriate input data. Also test various ways to call myStats_2.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by