Solve a big system of equations in Matlab

2 ビュー (過去 30 日間)
Joakim Karlsson
Joakim Karlsson 2018 年 4 月 16 日
回答済み: Joakim Karlsson 2018 年 4 月 16 日
Hello guys. So I have this problem where I am supposed to calculate the force in each rod of a structural framework. And I thought the easiest and most pretty way will be in Matlab. So what I've done so far is that I have set up an equation for each "node" in x and y axis. Now Im trying to get that into Matlab. So I have 20 unknowns and have created a zeros(20) matrix and will replace each zero with a value.
Since I have 10 nodes I will have 20 equations to put into Matlab. So for node 1 I will have to use row 1 for x-equations and row 2 for y-equations?
Also at each end I have supports that I have chosen to call Va,Ha and Vb. And each of those get a column of their own, A(,1), A(,2) and A(,3).
Is this the best way to do it or should I choose some other method?

回答 (1 件)

Joakim Karlsson
Joakim Karlsson 2018 年 4 月 16 日
Ok update. When I try to solve the system with backslash, mldivide etc. It keeps saying "Matrix is Singular to Working Precision".

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by