Please how can I store values of variable size vectors inside a loop for
1 次查看(过去 30 天)
显示 更早的评论
image processing
7 个评论
Stephen23
2018-8-18
@Mohamed ouahidi: what values does n have? If it is less than three then that loop will not run.
采纳的回答
Amir Xz
2018-8-18
" x( idxX(k) + 1 : idxX((k+1)) )" is a vector, so it should store in a vector too.
Use this one:
subH(k,:) = x( idxX(k) + 1 : idxX((k+1)) )';
7 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!