matrix question about array and absolute value

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.

 採用された回答

KSSV
KSSV 2019 年 4 月 30 日

0 投票

Read about input and sort functions.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeShifting and Sorting Matrices についてさらに検索

質問済み:

2019 年 4 月 30 日

回答済み:

2019 年 4 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by