フィルターのクリア

Indexing subsets of table in For loop

2 ビュー (過去 30 日間)
seyed morteza mousavi
seyed morteza mousavi 2017 年 11 月 23 日
Hi, I have a dataset(145580*42 table) and have different types of values(categorical, numerical,...), I want to create many subsets of it and indexing table names like this:
For i=1:1000
City(i)= DataSample(dataset,100);
end
But city is an array and I can’t put table in it, also I want know my each city after For loop and see it’s table, please help me, how I can store my each city with different number i and access to it later

採用された回答

Walter Roberson
Walter Roberson 2017 年 11 月 23 日
for i=1:1000
City{i} = DataSample(dataset,100);
end
  1 件のコメント
seyed morteza mousavi
seyed morteza mousavi 2017 年 11 月 23 日
Thank you so much

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by