Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
image processing
  7 Commenti
Stephen23
Stephen23 il 18 Ago 2018
@Mohamed ouahidi: what values does n have? If it is less than three then that loop will not run.

Accedi per commentare.

Risposta accettata

Amir Xz
Amir Xz il 18 Ago 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 Commenti

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Prodotti


Release

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by