# Can I handle mathematical expressions as an outcome in Matlab?

1 view (last 30 days)
Rebeka on 18 Jul 2022
Commented: Torsten on 18 Jul 2022
There is a matrix equation, , where, and . Elements of are known. Also are known. Therefore for each n I want to calculate the vector as a function of . As I understand I cannot use inverse operation as the unknown variable is sitting there. Is there any way to handle this in MATLAB?
Or, the only option is to calculate and write each element of as .
##### 3 CommentsShowHide 2 older comments
Torsten on 18 Jul 2022
I'd just determine D1 numerically and calculate "a" from the above relation.
Then I'd check (also numerically) whether Dn*zeta_n = a*(zeta_n-1 + zeta_n+1) is true for n > 1.
This is not a rigorous proof, but ok as a start, I guess.

Sign in to comment.

### Categories

Find more on Logical in Help Center and File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by