Please how can I store values of variable size vectors inside a loop for

1 次查看(过去 30 天)
image processing
  7 个评论
Stephen23
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
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 CenterFile Exchange 中查找有关 Histograms 的更多信息

产品


版本

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by