行列のメッシュ表面プロット表示

100×100の行列Aがあります。いままでimageで表示していたのですが、白黒の資料でも使用できるようにするため
以下のようなイメージで行列Aをメッシュ表面プロットのように値に応じて立体的に表示したいです。
しかしmeshを見た所XとYに応じてZ軸の値を決めるものは見つけられたのですが行列で使用する方法はみつけられませんでした。
方法を教えていただけないでしょうか

Risposte (1)

Shunichi Kusano
Shunichi Kusano il 5 Gen 2021

0 voti

こんにちは。
X,Yを指定せずに、mesh(A)でも動きますよ。

1 Commento

wataru suzuki
wataru suzuki il 5 Gen 2021
できました!ありがとうございます。

Accedi per commentare.

Richiesto:

il 5 Gen 2021

Commentato:

il 5 Gen 2021

Community Treasure Hunt

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

Start Hunting!