how to use LUT form configuring matrix
1 次查看(过去 30 天)
显示 更早的评论
Hi, i have a matrix, that i set up it will have 200 integer values. i also have a vector of 200 values. i want that each matrix cell will get the value of the vector, for example if cell (200,345) has a value of 20, then it will get the value of the 20th cell of the LUT vector. i know i can do it by double loop, but my matrix is very big and it will take a lot of time, i was wondering if there is a faster solution for the problem. thanks
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!