setting up a matrix
显示 更早的评论
how can i use matlab to setup a matrix and solve for all the unkowks of the truss below when F1= 435 and f2=521.

5 个评论
caroline bourn
2021-3-11
you need to set up a matrix of node locations etc, [x y x]
eg.
location_of_nodes = [3 4 0; % A
0 4 0; % B etc
... ]
you also need to state your element properties i.e. DoF , forces and their magnitude.
f1 = 435
f2 = 521
DoF = % whatever you set it as. should be given in the question
then you need to make an element connectivity matrix which sets which nodes are connected to what.
elem_connectivity = [ ...]
then you need to find the number of nodes and elements. and the number of DoF acting on the nodes.
you also need to define a force vector based on the number of DoF and becase you KNOW where the forces are acting and the direction you can easily do this. i.e.
force = [ 0 521 0 ... on node one.. this is not the case but this is an example.
there is a tutorial to questions like this and similar and youtube :) highly suggest watching @Matthew Lyon
caroline bourn
2021-3-11
you also need to set up a boundary conditions matrix which is where your truss is constrained and in the direction it is constrained in. i.e [ x, y, z]
then you should be able to apply you're mechanics knowledge and solve the question through matlab. i am going to assume this is an FEA course or a mechanics course. HIGHLY HIGHLY suggest watching the tutorials and seeking tutorials online!!!!
Matthew Lyon
2021-3-11
caroline bourn
2021-3-11
编辑:caroline bourn
2021-3-11
look this up as well,
MATLAB - Plane Truss Element, it is a video by Kamran Yunus. i tried to post the link but mathworks marked it as spam
回答(1 个)
KSSV
2021-3-11
0 个投票
类别
在 帮助中心 和 File Exchange 中查找有关 Structural Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!