Azzera filtri
Azzera filtri

What does this error mean and how can it be solved. 'Unable to perform assignment because the size of the left side is 1-by-2091 and the size of the right side is 1-by-2092'

1 visualizzazione (ultimi 30 giorni)
Im getting the following error when I try to perform CCA on a 2097 x 3 data matrix. 'Unable to perform assignment because the size of the left side is 1-by-2091 and the size of the right side is 1-by-2092'.
Im using Dr Van Der Maatens drtoolbox. What does the error mean and how do I fix it?
Please assist.
  1 Commento
Sargondjani
Sargondjani il 23 Giu 2021
Some where you try to do:
x = something;
where x is predefined to be 1x2091 vector, and something is a 1x2092 vector.
So my suggestion: check where the code sets the size of x, because probably it's of the wrong size. You might want to report the error with the writer of the toolbox.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by