シンボリック関数を使った行列計算

二次関数のシンボリック関数f(x)を作製してK=3000×6000の行列の行列計算をしているのですが処理が進んでいるのか進んでいないのか分からないくらい処理が続いています。
テスト段階でK=300×600の行列では計算できたのですが、、、さすがに行列内の数値が多すぎるのでしょうか。
テスト段階でエラーメッセージは出ておらず、K=3000×6000の行列の方でもエラーは出ていません。
MATLABの仕様上なのかも含めてご教授お願いします。

댓글 수: 2

Dyuman Joshi
Dyuman Joshi 2024년 5월 28일
편집: Dyuman Joshi 2024년 5월 28일
Doing 3000×6000 calculations symbolically will be extremely slow, as is evident in your case.
You can define a Function Handle instead and perform calculations numerically.
Takanori Aihara
Takanori Aihara 2024년 5월 29일
I understand.
Thank you very much.
Best regards,

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

제품

릴리스

R2023b

질문:

2024년 5월 28일

댓글:

2024년 5월 29일

Community Treasure Hunt

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

Start Hunting!