How to insert values for a symbolic variable
조회 수: 83 (최근 30일)
이전 댓글 표시
I'm calculating some gradients with symbolic variables and after that I want to insert values for the variables.
So I have a function depandent of multiple variables x(1),..., x(20)

and I want to insert some values for the variables, something like

such that the function replaces all the x(1) values with 10 and x(20) values with 14
How is that done? Should be simple but I can't find anything helpful explaining how to solve this
댓글 수: 0
채택된 답변
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!