Display range of column and row of matrix in GUI table

2 ビュー (過去 30 日間)
Firzi Mukhri
Firzi Mukhri 2013 年 5 月 24 日
I would like to know is it possible to display part of a matrix in GUIDE table. Suppose I have a matrix of 22x88, but I would like to display the matrix 22x22 at a time, which makes it divided into 4 part. I will have a popupmenu of a,b,c,d that update the table to displey, a = 1st 22x22, b = 2nd 22x22, c = 3rd 22x22, d= 4rd 22x22.
The question is, is this possible? or should I make the data into 4 22x22 matrix and call each separately. Thank you.

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 24 日
編集済み: Azzi Abdelmalek 2013 年 5 月 24 日
If M is your array, use
M(:,1:22) % frist part
M(:,23:44) % second part
M(:,45:66) % third
M(:,67:88) % fourth
  1 件のコメント
Firzi Mukhri
Firzi Mukhri 2013 年 5 月 24 日
Ok thanks! so it is possible.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by