Matlab project

22
MATLAB PROJECT Structure solver

Transcript of Matlab project

Page 1: Matlab project

MATLAB PROJECT Structure solver

Page 2: Matlab project

What about MATLAB? MATLAB is a high-level language and interactive environment that enables you to perform computationally intensive tasks faster than with traditional programming

languages such as C, C++

Page 3: Matlab project

References:

Books Internet Programmer

Page 4: Matlab project

What can I do?

Matlab

Programming

Function Conditional statements (if ,else, else

if)

Graphical user

interface (GUI)

Callback programmin

g(Dialog Boxes)

Page 5: Matlab project

What about GUI?A graphical user interface (GUI), often pronounced gooey, is a type of user interface that allows users to interact with programs in more ways than typing such as computers; hand-held devices such as MP3 players, portable media players or gaming devices; household appliances and office equipment with images rather than text commands.

Page 6: Matlab project

What about M-FILE? M-files are macros of MATLAB commands that are stored as ordinary text files with the extension "m", that is filename.m. An M-file can be either a function with input and output variables or a list of commands.

Page 7: Matlab project

:Callback programmingIn computer programming, a callback is a reference to executable code, or a piece of executable code, that is passed as an argument to other code. This allows a lower-level software layer to call a subroutine (or function) defined in a higher-level layer.

Page 8: Matlab project

The beginning of the work: ((Strain

&StressBy getting the

deflection in the rod and also

calculate both stress and strain

in the rod

Page 9: Matlab project

(Torsion ) Then:

1st : Getting the maximum shear stress on shaft .

2nd :Getting the angle of twisting of all shafts at the end point .

Page 10: Matlab project

(Bending) Then: Getting the centroid. 1st :2nd : Getting the moment of area of the shape.3rd : Getting the forces . (if the bending due to force not a moment ). 4th :Getting the distance to

centroid of the shapes .

Page 11: Matlab project

Final form:

Solver

Strain &stress

Multiaxial Axial

Reaction &truss Torsion

Shear stress &angle of

twist Non

circular Closed loop

Bending

Calculate the centroid

Don’t calculate

the centoid

Page 12: Matlab project

Photos from project:

Page 13: Matlab project

Reactions & trussesHook’s law

Page 14: Matlab project

Enter the number of the sections in the

bar

Stress and strain

Page 15: Matlab project

Torsion

Torsion (circular shafts)Torsion (non circular)Torsion (Closed loop)

Page 16: Matlab project

Bending (Don’t calculate the centroid)Bending (Calculate the centroid)

Page 17: Matlab project

Bending (choose firstly)

Bending (calculate the centroid)Bending (Don’t calculate the centroid)

Page 18: Matlab project

Testing & Advertisement: By:

By :

Page 19: Matlab project

Freeware & Openware:Openware Freeware

Openware is a term applied to course materials in a virtual learning environment created by universities and shared freely with the world via the internet.

Freeware (from "free" and "software") is computer software that is available for use at no cost (or for an optional fee).

Page 20: Matlab project

Update:

To

To By:

More time

More know

More work

Page 21: Matlab project

:Recommending

Workshop opportunities Self-study opportunity Continue

Page 22: Matlab project

Thanks for listening: