matrix question about array and absolute value
6 次查看(过去 30 天)
显示 更早的评论
Write a user defined function, listDesDif, which will take an input of M and use the function from part a) to produce a matrix, it will then produce an array containing the numbers from this matrix. The array should be sorted in descending order of the absolute value of the difference between each individual element in the matrix and the first element in the matrix.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!