Symbolic matrix problem, how to take out the arrays of a symbolic matrix?

2 views (last 30 days)
Hi,
I have a matrix 5X1 as a Symfun data, where I want to take out the 5 elements seperately and do more calculations on them. The problem is the matrix is to be a 1X1 matrix as long as it's a Symfun and I can not choose the arrays seprately. I can not transform the marix to double or single, because each time I recieve an error. What can be other solution?
best regards,

Accepted Answer

Walter Roberson
Walter Roberson on 28 Feb 2017
call formula() on the symfun to get back an array that you can then index.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!