## SolveTrusses

version 1.0.0 (146 KB) by
% This file explains how to use the program SolveTrusses and displays the % force in each member on them.

Updated 17 Nov 2019

% The function is called with 4 arguments: 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]};
% 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
% 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];

### Cite As

Lateef Adewale Kareem (2022). SolveTrusses (https://www.mathworks.com/matlabcentral/fileexchange/73376-solvetrusses), MATLAB Central File Exchange. Retrieved .

##### MATLAB Release Compatibility
Created with R2019b
Compatible with any release
##### Platform Compatibility
Windows macOS Linux