How I extract specific columns and lines?

I have an excel file with a table 1442x31 and I want to extract specific columns and lines.
For Example I want to make a new table named a where I want to insert: all values from 109 until 210, from columns 3-20.
1 2 3 4 5 6 7 8
2 a b c d e f g
3 a b c d e f g
4 a b c d e f g
5 a b c d e f g
6 a b c d e f g
7 a b c d e f g
8 a b c d e f g
Let's say I want all values from 3rd column but only on lines 4,5,6,7
How do I do that?

1 件のコメント

darova
darova 2020 年 5 月 14 日
Try
A1 = A(109:210,3:20);
read about colon

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Import from MATLAB についてさらに検索

質問済み:

2020 年 5 月 14 日

コメント済み:

2020 年 5 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by