Restructuring a Vertex into a specific Matrix pattern

2 ビュー (過去 30 日間)
Edward Lannon
Edward Lannon 2020 年 12 月 7 日
回答済み: James Tursa 2020 年 12 月 7 日
Hello,
I have a 1X3 list with that I want to transform into a matrix with a specific pattern. I would like to have value 1 be the location of the y axis, value 2 be the location of the x axis and value 3 be the value in the matrix.
For example,
If I had the list be:
1 1 7
1 2 7
2 1 4
2 2 3
I would like the matrix to be:
7 7
4 3
Any ideas? Thank you for your time and consideration

採用された回答

James Tursa
James Tursa 2020 年 12 月 7 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by