How to plot this Matrix?

4 ビュー (過去 30 日間)
Arif Ahmed
Arif Ahmed 2018 年 11 月 8 日
コメント済み: Arif Ahmed 2018 年 11 月 8 日
Hi guys,
I have totally forgotten how I was able to plot this matrix in MATLAB. Can anybody plot this and please aid me with the code. The values are just values of the matrix.
if true
A = [45.24 16.81 -27.01 -9.614; -19.9 46.77 9.169 -28.33; -27.11 -9.381 55.07 16.98; 8.874 -28.66 -20.19 56.69]
% code
end
I had previously plotted it and this is how it looks.

採用された回答

Image Analyst
Image Analyst 2018 年 11 月 8 日
Try this:
A = [45.24 16.81 -27.01 -9.614; -19.9 46.77 9.169 -28.33; -27.11 -9.381 55.07 16.98; 8.874 -28.66 -20.19 56.69]
heatmap(A)
  1 件のコメント
Arif Ahmed
Arif Ahmed 2018 年 11 月 8 日
Thank you so much. Appreciate it!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by