I have a matrix with 100 x 100, from that i have to select a 50 x 70 matrix, how should i do it in matlab

In many functions i cant generate with different dimensions in the row and columns (i.e)i can generate a dct matrix with the dimensions of 10 x 15..so that i can generate a 15 x 15 and can i select a 10 x 15 matrix from it...

 採用された回答

ajith
ajith 2013 年 11 月 22 日
編集済み: ajith 2013 年 11 月 22 日
for example a= 15 x 15 matrix then
you do
a=a(1:10,1:15);
then check a data values shows 10x15
or
b= a(1:10,1:15);
then check b data values shows 10x15

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

質問済み:

2013 年 11 月 22 日

コメント済み:

2013 年 11 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by