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

2 views (last 30 days)
image processing
  7 Comments
Stephen23
Stephen23 on 18 Aug 2018
@Mohamed ouahidi: what values does n have? If it is less than three then that loop will not run.

Sign in to comment.

Accepted Answer

Amir Xz
Amir Xz on 18 Aug 2018
" 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 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Products


Release

R2015a

Community Treasure Hunt

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

Start Hunting!