how to speed up the symbolic computation?

4 ビュー (過去 30 日間)
Stanley Cheng
Stanley Cheng 2014 年 1 月 28 日
Hi everyone,
I have written a code using symbolic computation.
In it, first, 20 symbolic variables are defined, after obtaining the symbolic expressions of some intermediate variables containing these variables, the command 'subs' is applied to substitute the 20 symbolic variables in the intermediate variables with numerical ones.
However, this task is quite time-consuming, and that takes quite a long time to finish just part of the results. I also tried to use the matlabFunction to transfer the symbolic intermediate variables into a function, but it still takes quite a long time.
Does anyone can give me some ideas how to speed up the code ?
Thanks so much!

回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by