Info
此问题已关闭。 请重新打开它进行编辑或回答。
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 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!