find matrix X by equation

2 visualizaciones (últimos 30 días)
Minh Phuong Truong
Minh Phuong Truong el 14 de Feb. de 2022
Respondida: KSSV el 14 de Feb. de 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

Respuesta aceptada

KSSV
KSSV el 14 de Feb. de 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.

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by