how to assign values to a large array of symbolic variables in matlab ?

2 次查看(过去 30 天)
Hi, I want to assign values to symbolic array let values of V=[5 4 5 2 .....4] to X=[x1 x2 x3 .... xn]. as I can get the result like this x1=5, x2=4 and so on.
Can anyone guide me? Thanks in Advance

采纳的回答

Walter Roberson
Walter Roberson 2018-10-9
This is possible but firmly recommended against. In nearly any context you are likely to encounter, it is better to subs() the values rather than assign them.
  5 个评论

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by