try to get specific index in table and try to store in table but got empty table
1 次查看(过去 30 天)
显示 更早的评论
hi, i want to get the last value for each row in 'result' and store into table 'value_centroid'. However i get empty table.
result:
0 0 0 0 0 0 4.03
0 0 0 0 0 0 5.17
ii=1
value_centroid = zeros(1,[])
for cc=ii:k
ii
step2_percluster=kirapercluster(ii,centroid,k)
result=array2table(step2_percluster)
value_centroid(ii,[])=result{ii,end}
ii=ii+1
end
3 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!