フィルターのクリア

How can I extract certain columns in a vector and store it as a new vector?

2 ビュー (過去 30 日間)
farkab95
farkab95 2017 年 11 月 20 日
回答済み: the cyclist 2017 年 11 月 20 日
I have a a 365x30 vector called OzoneData that contains ozone pollution data per day in a year (365) and from 30 different sites. I want to take all the ozone concentrations from columns 1,27,28,15, and 13 (sites) and store them in a different vector called Group1. How can I do this?
Thank you!

採用された回答

the cyclist
the cyclist 2017 年 11 月 20 日
Group1 = OzoneData(:,[1,27,28,15,13]);

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by