Solving a Second Order Piecewise Quadratic Equation
古いコメントを表示
How can I solve a second order quadraic nonlinear equation for each components of two matrices. For example, having:
a=rand(10,10); b=rand(10,10);
For the equation:

I'm looking for the analytical solution. I tried to write a code but I don't know what solver to use, ODE45 or dsolve.
Also, if I want to solve the gradient of this equation (getting the antiderivative of the equation to make it first order equation) which will be solmething like this:

How can I solve them? I'd appreciate it if someone can help me!
2 件のコメント
Walter Roberson
2021 年 12 月 3 日
Is that x double-prime, quantities individually squared, quantities then individually multiplied by themselves?
Is that x double-prime, quantities individually squared, matrix-multiply by itself (inner product)?
Is that x double-prime, matrix-multiply by itself (inner product) to do the
part, then again matrix-multiplied by itself?
That is, I am not clear as to why you are not using
?
MarshallSc
2021 年 12 月 3 日
編集済み: MarshallSc
2021 年 12 月 3 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



