Removing a column from multidimensional array

Hello,
I have a 5x6x7 3-dimensional matrix and would like to remove the last column in the matrix so that it is 5x5x7. (i.e. 5 rows, 5 columns, across 7 sheets)
Could anyone advise how I can remove this column?
Thank you.

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 3 月 26 日
編集済み: Azzi Abdelmalek 2014 年 3 月 26 日

0 投票

a=a(:,1:5,:)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeOperators and Elementary Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by