find matrix X by equation
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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
0 comentarios
Respuesta aceptada
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
s = solve(eqn,x)
In the above equation substitute A.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!