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 view (last 30 days)
Show older comments
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 Comment
Sargondjani
on 23 Jun 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.
Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!