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 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Sargondjani
el 23 de Jun. de 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.
Respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!