SolveTrusses
% The function is called with 4 arguments: Members, Loads, Supports, Name.
% SolveTrusses(Members, Loads, Supports, Name)
%% Input1 : Members
% Members is a cell array containing 2by2 matrices. Each 2by2 matrix
% represent a member, with each row representing each end of the member.
% eg: Members = {[0,0;400,0], [0,0;900,375],[400,0;900,375]};
%% Input2 : Loads
% Loads is a cell array containing row vectors of length 4. The first two
% elements represent the coordinate of the point of application of the
% load, while the third element represent the maginitude of the load, and
% the last element is the angular orientation of the load measured from the
% positive x axis. eg: A download load of 200N applied at point (3,5) is
% represented as [3,5,2000,-pi/2] or [3,5,2000,3*pi/2];
%% Input3 : Supports
% Supports is a cell array containing row vectors of length4. The first
% element represent the type of the support (1 for pin, 2 for roller). The
% second and third elements represent the x and y coordinate of the
% support, and the last element represent the orientation of its normal
% measured from positive y axis. The orientation is in multiples of
% 90 degrees. This is important for the roller, not important for pin, but
% must be stated for the drawing to be rendered correctly. For example, a
% roller at point (3,4) with normal rotated 90 degrees from positive y axis
% is stated as [2,3,4,1];
Citation pour cette source
Lateef Adewale Kareem (2024). SolveTrusses (https://www.mathworks.com/matlabcentral/fileexchange/73376-solvetrusses), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Trusses
Trusses
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |