How can I do Jacobian with complicated equation?
1 view (last 30 days)
Show older comments
syms t real
x = sym('x', [4,1],'real');
y = x(3:4);
O = sym('O', [2,1],'real');
% L is equation of x,O
f1 = jacobian(L, y);
f2 = jacobian(L, y);
matlabFunction(f2, 'file','func_f2','vars',{t,x,O});
If L is a simple equation of x and O, it can be solved in few seconds.
My problem is my L equation is too complicate, matlab ran for 2 days and didn't get answered yet.
I tried
L = simplify(L)
But it can't be solved, matlab out of memory.
What can I do?
1 Comment
Answers (0)
See Also
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!