「関数 'Compute.eig' の入力または出力の数または型が正しくありません。」が表示される。
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
固有値を計算する際に、以下の箇所でエラーが発生しました。
関数 'Compute.eig' の入力または出力の数または型が正しくありません。
detzeta = eig(E); % 固有値問題を解く
代入の配列Eの型は以下となっております。
size(E)
ans = 64 64
class(E)
ans = 'double'
何か原因の可能性として考えられることがあれば、ご意見くださるでしょうか。
よろしくお願いいたします。
6 Kommentare
Atsushi Ueno
am 1 Jun. 2023
エラーが出た直後に detzeta を一旦クリアしてから同じ計算をしてエラーが解消すれば、原因は出力側の変数です。
clear detzeta
detzeta = eig(E); % Eを入力してここで実行する
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!