Can I handle mathematical expressions as an outcome in Matlab?

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 Commenti

Torsten
Torsten il 18 Lug 2022
Modificato: Torsten il 18 Lug 2022
Do you really need an explicit formula for psi(n) as a function of n and zetan ? How exactly do you want to use this solution ?
As you write above, the solution will be B(n)^(-1)*phi(n), and although you only need the 4th column of B(n)^(-1), it will usually look ugly. But you can try it with symbolic calculation.
I wish to get a equation . The thing is the left hand side is a function of . Therefore I need to know how these are related to to to be able write it in a form like that. Yeah I guess I have to try it symbolic calculation. Thanks for the suggestion.
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.

Accedi per commentare.

Risposte (0)

Categorie

Richiesto:

il 18 Lug 2022

Commentato:

il 18 Lug 2022

Community Treasure Hunt

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

Start Hunting!

Translated by