Code covered by the BSD License
-
[Column]=makecol(data,formatn...
Used with titleblock, from the shape routines.
-
[D, Slope]=displace(x,Moment,...
DISPLACE Displacement of a beam.
-
[NewState]=straintr(StrainSta...
STRAINTR Stress rotation.
-
[PriStrains, IPShearMax, Shea...
PRISTRAIN Principal strains.
-
[PrinciplePlanes]=ppstrain(St...
PPSTRAIN The principle planes of a strain state.
-
[PrinciplePlanes]=ppstress(St...
PPSTRESS The principle planes of a stress state.
-
[PrincipleStresses, IPShearMa...
PRISTRESS Principal stresses.
-
[StrainState]=rosette(epsilon...
ROSETTE Converts strain gauge readings to strain state.
-
[]=expandaxis(perleft, perrig...
EXPANDAXIS Extends the current axis in any or all directions.
-
[]=mohrs(StressState, option,...
MOHRS Draws a Mohr's circle.
-
[]=mohrs2(StrainState, option...
MOHRS2 Draws a Mohr's circle.
-
[]=plotSMD(x,shear,moment,dis...
PLOTSMD Plots a Shear Moment and optional Displacement diagram.
-
[]=plotSMSD(x,shear,moment,sl...
PLOTSMSD Plots a Shear, Moment, Slope and Displacement diagram.
-
[]=showvect(vectors)
SHOWVECT Draws a simple diagram showing the input vectors.
-
[]=showx(x,colour)
SHOWX Draws a line across the current axis.
-
[]=showx(y,colour)
SHOWY Draws a line across the current axis.
-
[]=titleblock=titleblock(colu...
TITLEBLOCK Adds two columns of text within the axis border.
-
[angles]=findangle (a,b,c);
FINDANGLE Finds unknown angles of a triangle.
-
[area]=diagramintegral(x,y)
DIAGRAMINTEGRAL Integral of the given numerical data.
-
[degrees]=RD(radians)
RD Changes a matrix of radian measure to a matrix of degree measure.
-
[force, placement]=distload(h...
DISTLOAD Converts a linearly distributed load to a point force.
-
[force,moment]=reaction(vecto...
REACTION Finds the reaction force and moment needed to balance a force.
-
[forces]=fixedfixed(x,s,m,a,L...
FIXEDFIXED Redundant support moments and forces.
-
[forces]=fixedpin(x,s,m,a,End...
FIXEDPIN Redundant support moments and forces.
-
[forces]=pinpin(x,s,m,a,EndSu...
PINPIN Redundant support forces.
-
[hypotenuse]=hyp(x,y)
HYP Finds the hypotenous of a right triangle.
-
[leglength]=leg(knownleg,hypo...
LEG Finds the leg length of a right triangle.
-
[magnitude]=mag(inVector, dir...
MAG Returns the magnitude of a vector.
-
[matrix]=makepins(a,L,support...
MAKEPINS subroutine for redundancy routine.
-
[moment]=summoment(vectors, c...
SUMMOMENT Solves for the moment caused by a set of forces.
-
[num]=cols(m)
COLS Counts the number of columns in a matrix.
-
[num]=rows(m)
ROWS Counts the number of rows in a matrix.
-
[outVector]=opp(inVector)
OPP Returns the equal but opposite vector
-
[outvalue]=interpolate(x,y,in...
INTERPOLATE Linear interpolation for a given value.
-
[pntload]=dist2x(mags, place,...
DIST2X Converts a distributed load to a point force acting in the X.
-
[pntload]=dist2y(mags, place,...
DIST2Y Converts a distributed load to a point force acting in the Y.
-
[radians]=DR(degrees)
DR Changes a matrix of degree measure to a matrix of radian measure.
-
[reactions]=threevector(known...
THREEVECTOR Solves for three force vectors of known direction only.
-
[reactions]=twovec(knowns, un...
TWOVECTOR Solves for two force vectors of known direction only.
-
[result]=channel(b,h,bt,lt,or...
CHANNEL U-shape shape routine.
-
[result]=circle(r,req)
CIRCLE Circle shape routine.
-
[result]=comp(part,req)
COMP Composite shape routine.
-
[result]=halfcircle(r,orient,...
HALFCIRCLE Semicircle shape routine.
-
[result]=hortrap(b,h,a,p,req)
HORTRAP Horizontal trapezoid shape routine.
-
[result]=hortria(b,h,p,req)
HORTRIA Horizontal triangle shape routine.
-
[result]=ibeam(b,h,bt,wt,orie...
IBEAM I-beam shape routine.
-
[result]=lbeam(hl,vl,ht,vt,or...
LBEAM L-beam shape routine.
-
[result]=obeam(od,id,req)
OBEAM Circular tube shape routine.
-
[result]=quartercirc(r,orient...
QUARTERCIRCLE Quarter circle shape routine.
-
[result]=rectangle(b,h,req)
RECTANGLE Rectangular shape routine.
-
[result]=rectangle(b,h,req)
RECTANGLE Rectangular shape routine.
-
[result]=rectube(ob,oh,ib,ih,...
RECTUBE Rectangular tube shape routine.
-
[result]=tbeam(b,h,bt,wt,orie...
TBEAM T-beam shape routine.
-
[result]=vertrap(b,h,a,p,req)
VERTRAP Horizontal trapezoid shape routine.
-
[result]=vertria(b,h,p,req)
VERTRIA Horizontal triangle shape routine.
-
[resultant,couple]=sumforce(v...
SUMFORCE Sums a set of vectors into one force vector and a couple.
-
[resultant]=onevector(knowns)
ONEVECTOR Vector that is the negative of sum of forces acting at a point.
-
[sn,tnt]=stresstr(StressState...
STRESSTR Stress rotation.
-
[value]=ispos(x)
ISPOS True for positive numbers.
-
[value]=matprop (name,constan...
MATPROP Material properties look up.
-
[vector]=deg2xy(inputs)
DEG2XY Converts vectors in degree angles to standard form.
-
[vector]=rad2xy(inputs)
RAD2XY Converts vectors in radian angles to standard form.
-
[vector]=rise2xy(inputs)
RISE2XY Converts vectors in rise-run format to standard form.
-
[vector]=xy2deg(inputs)
XY2DEG Converts vectors in standard form to degree angle form.
-
[vector]=xy2rad(inputs)
XY2RAD Converts vectors in standard form to radian angle form.
-
[x,y]=showcirc (radius,coords...
SHOWCIRC Draws a circle on the current axis.
-
[x,y]=showrect (x,y,coords,co...
SHOWRECT Draws a rectangle on the current axis.
-
[xmag,ymag,xcor,ycor]=breakup...
BREAKUP Breaks a standard form force vector into its component parts.
-
[y]=diagram (x,option,mag,pla...
DIAGRAM Creates vectors for use in plotting of diagrams.
-
move (inVector, coords)
MOVE Changes the coordintes of a vector.
-
rain2ess(StrainState,E,poison...
STRAIN2STRESS Converts strain to stress.
-
stress2strain(StressState,E,p...
STRESS2STRAIN Converts stress to strain.
-
CH0201.m
-
CH0301.m
-
CH0401.m
-
CH0601.m
-
CH0602.m
-
CH0603.m
-
CH0604.m
-
CH0605.m
-
CH0606.m
-
CH1001.m
-
CH1002.m
-
CH1101.m
-
CH1102.m
-
CH1103.m
-
CH1104.m
-
CH1201.m
-
CH1202.m
-
CH1203.m
-
CH1301.m
-
CH1302.m
-
CH1501.m
-
CH2001.m
-
CH2002.m
-
CH2003.m
-
CH2004.m
-
CH2005.m
-
CH2006.m
-
CH2007.m
-
CH2008.m
-
CH2009.m
-
CH2010.m
-
CH2011.m
-
CH2012.m
-
CH2013.m
-
CH2014.m
-
CH2015.m
-
CH2016.m
-
CH2017.m
-
CH2101.m
-
CH2102.m
-
CH2103.m
-
CH2104.m
-
CH2201.m
-
CH2202.m
-
CH2203.m
-
CH2301.m
-
CH2302.m
-
CH2401.m
-
CH2501.m
-
CH2502.m
-
CH2601.m
-
CH2602.m
-
CH2701.m
-
CH2801.m
-
CH2802.m
-
CH2803.m
-
CH2901.m
-
CH2902.m
-
CH2903.m
-
CH2904.m
-
CH2905.m
-
CH2906.m
-
CH2907.m
-
CH2908.m
-
CH2909.m
-
CH2910.m
-
CH2911.m
-
CH2912.m
-
CH3001.m
-
CH3002.m
-
CH3101.m
-
CH3201.m
-
CH3202.m
-
CH3301.m
-
CH3302.m
-
CH3401.m
-
CH3402.m
-
CH3403.m
-
Contents.m
-
Contents.m
-
RunAllCode.m
-
define.m
-
View all files
|
|
| Contents.m |
% Mastering Mechanics I Toolbox.
% Version 1.00 01-Mar-1998
%
% Details are to be found in Mastering Mechanics I, Douglas W. Hull,
% Prentice Hall, 1998
%
% Douglas W. Hull, 1998
% Copyright (c) 1998-99 by Prentice Hall
% Version 1.00
%
% General purpose.
% cols - Counts the number of columns in a matrix.
% DR - Converts degrees to radians.
% interpolate - Linear interpolation for a given value.
% ispos - True for positive numbers.
% RD - Converts radians to degrees.
% rows - Counts the number of rows in a matrix.
%
% Geometry.
% findangle - Finds unknown angles of a triangle.
% hyp - Finds the hypotenous of a right triangle.
% leg - Finds the leg length of a right triangle.
%
% General plotting.
% expandaxis - Extends the current axis in any or all directions.
% showcirc - Draws a circle on the current axis.
% showrect - Draws a rectangle on the current axis.
% showvect - Draws a simple diagram showing the input vectors.
% showx - Draws a line across the current axis.
% showy - Draws a line across the current axis.
% titleblock - Adds two columns of text within the axis border.
%
% Vector manipulation.
% deg2xy - Converts vectors in degree angles to standard form.
% dist2x - Converts a distributed load to a force acting in the X.
% dist2y - Converts a distributed load to a force acting in the Y.
% distload - Converts a linearly distributed load to a point force.
% mag - Returns the magnitude of a vector.
% move - Changes the coordintes of a vector.
% opp - Returns the equal but opposite vector
% rad2xy - Convert vectors in radian angles to standard form.
% rise2xy - Converts vectors in rise-run format to standard form.
% xy2deg - Converts vectors in standard form to degree angle form.
% xy2rad - Converts vectors in standard form to radian angle form.
%
% Statics.
% breakup - Breaks a standard form force vector into its components.
% onevector - Negative of sum of forces acting at a point.
% reaction - Reaction force and moment needed to balance a force.
% sumforce - Sums a set of vectors into one force vector and a couple.
% summoment - Solves for the moment caused by a set of forces.
% threevector - Solves for three force vectors of known direction only.
% twovector - Solves for two force vectors of known direction only.
%
% Shapes.
% channel - U-shape shape routine.
% circle - Circle shape routine.
% comp - Composite shape routine.
% halfcircle - Semi-circle shape routine.
% hortrap - Horizontal trapazoid shape routine.
% hortria - Horizontal triangle shape routine.
% ibeam - I-beam shape routine.
% lbeam - L-beam shape routine.
% obeam - Circular tube shape routine.
% quartercircle- Quarter circle shape routine.
% rectangl - Rectangular shape routine. (note spelling)
% rectube - Rectangular tube shape routine.
% tbeam - T-beam shape routine.
% vertrap - Horizontal trapazoid shape routine.
% vertria - Horizontal triangle shape routine.
%
% Stress.
% mohrs - Draws a Mohr's circle.
% ppstress - The principle planes of a stress state.
% pristress - Principal stresses.
% stress2strain- Converts stress to strain.
% stresstr - Stress rotation.
%
% Strain.
% mohrs2 - Draws a Mohr's circle.
% ppstrain - The principle planes of a strain state.
% pristrain - Principal strains.
% rosette - Converts strain gauge readings to strain state.
% strain2stress- Converts strain to stress.
% straintr - Stress rotation.
%
% Material properties.
% matprop - Material properties look up.
%
% Diagrams and Displacement.
% diagram - Creates vectors for use in ploting of diagrams.
% diagramintegral- Integral of the given numerical data.
% displace - Displacement of a beam.
% fixedfixed - Redundant support moments and forces.
% fixedpin - Redundant support moments and forces.
% pinpin - Redundant support forces.
% plotSMD - Plots a Shear Moment and optional Displacement diagram.
% plotSMSD - Plots a Shear, Moment, Slope and Displacement diagram.
|
|
Contact us at files@mathworks.com