How to insert values for a symbolic variable
269 次查看(过去 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 Variables, Expressions, Functions, and Preferences 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!