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 回表示 (過去 30 日間)
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 件のコメント
Sargondjani
Sargondjani 2021 年 6 月 23 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by