find matrix X by equation

2 visualizzazioni (ultimi 30 giorni)
Minh Phuong Truong
Minh Phuong Truong il 14 Feb 2022
Risposto: KSSV il 14 Feb 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

Risposta accettata

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

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by