How to convert a symbolic piecewise function into a matlab function with a function handle?
이전 댓글 표시
I have a symbolic expression (of two variables) that is a product of 3 symbolic expressions where one of those is a piecewise function. I need to do a numerical integration (with int) over one of the variables while the other variable should be ArrayValued. However, this does not work with a symfun and I cannot use matlabFunction() to convert it because of the piecewise functions.. Any ideas would be much appreciated.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Conversion Between Symbolic and Numeric에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!