How to create a Table and fill it

1 回表示 (過去 30 日間)
Norbert
Norbert 2012 年 4 月 26 日
Let's say I have 5 highways and I'm checking the colour of cars driving on those highways. The row headers would be the 5 highways (therefore 5 rows, excluding the column headers) and the column headers would be the colours (blue, red, white, black, silver, etc.).
So if I detect a red car on highway 2, I want to put a '1' in the table (row: highway 2, column: red).
How can I do that? I couldn't find anything useful.

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by