フィルターのクリア

using slice command on a cube matrix

3 ビュー (過去 30 日間)
B
B 2017 年 1 月 17 日
コメント済み: Adam 2017 年 1 月 18 日
I have a 29x21x44 double matrix (it's a cube) that I need to make into a 3D plot by using 'slice'. I am unsure how to do this since I don't have any x,y or z coordinates.

回答 (1 件)

Adam
Adam 2017 年 1 月 17 日
Just use x = 1:29, y = 1:21, z = 1:44 if you don't care what the x, y and z values are - these will give you the indices into the cube as axes.
  1 件のコメント
Adam
Adam 2017 年 1 月 18 日
Yes, that would be your 'V' value.
I have only used slice occasionally and I usually base it on the example in
doc slice
for how best to plot it and then work from there, depending on which slices and how many I actually want.
Generally I will want to hook up sliders to the different dimensions rather than have a static view of slices.

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

カテゴリ

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

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by