find matrix X by equation

1 vue (au cours des 30 derniers jours)
Minh Phuong Truong
Minh Phuong Truong le 14 Fév 2022
Réponse apportée : KSSV le 14 Fév 2022
I have a matrix A (301*409), and the equation A=10^(-0.761-1.328X+0.283X^2). I would like to find matrix X, which each value in X >0. How can I do this in Matlab?
Many thanks

Réponse acceptée

KSSV
KSSV le 14 Fév 2022
You can solve the equation using symbolic toolbox to get X and then substitute A into the obtained solution.
syms a x
eqn = a-10^(-0.761-1.328*x+0.283*x^2)==0
eqn = 
s = solve(eqn,x)
s = 
In the above equation substitute A.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by