writting equation with summation
2 次查看(过去 30 天)
显示 更早的评论
How can i write such equation on matlab , although i have more 4 equations simliar to it with unknown parameters, so that i can solve those equations to get the unknowns
1 个评论
darova
2020-4-21
Can you explain more? Do you have known constants values? Do you have any attempts (with fsolve maybe)?
回答(1 个)
Deepak Gupta
2020-4-21
Hello Hassan,
You can use solve function of matlab. Here is an example:
syms u v
eqns = [2*u + v == 0, u - v == 1];
S = solve(eqns,[u v])
Thanks,
Deepak
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!