필터 지우기
필터 지우기

how to speed up the symbolic computation?

조회 수: 2 (최근 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 CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by