How can I do Data distribution ?

1 回表示 (過去 30 日間)
pty0220
pty0220 2017 年 8 月 8 日
I have a data like this
a =
2 3 4
5 4 1
7 8 4
And I will apply some function to this data(give label) like below
a=
2 3 4 A
5 4 1 B
7 8 4 C
Then I want to distribute that label at some data like this
b = b=
7 8 4 7 8 4 C
7 8 4 7 8 4 C
2 3 4 -> 2 3 4 A
2 3 4 2 3 4 A
7 8 4 7 8 4 C
5 4 1 5 4 1 B
Actually this question is easy if I use 'for loop' but, I work with large data speed is very important for me. Is there any way to solve this problem ??

回答 (0 件)

カテゴリ

Help Center および File Exchange기술 통계량 및 시각화 についてさらに検索

Community Treasure Hunt

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

Start Hunting!