How can I add a dictionary variable or lookup-table variable in dataset

1 次查看(过去 30 天)
I have a very trivial question, but I wasn't able to solve it so far-
in my dataset I have a 'cowID' number which goes in a non-linear way from 2 to 9130. every cow has a tag. let's say cow 2 has tag 1, cow 230 has tag 2, cow 9130 has tag 3 etc. I want to add a 'TagID' variable which runs all the tag numbers corresponding to the cow numbers. THAT'S IT!
tnx in advance

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by