Software Listing of Author : "Husam Aldahiyat"
- Bezier Curve Plotter GUI
- License: Shareware
- Price:


Graphical user interface that allows easy manipulation of Bezier curves by interactively adding, editing the position as well as deleting points on the graph using mouse clicks.
- Publisher: Husam Aldahiyat
- Date Released: 07-05-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Bouncing Ball Physics
- License: Freeware
- Price: 0.00


The parameters are: Ball Radius Colour Gravity Initial Y Velocity Initial X Velocity Vertical Speed Conservation (after hitting the ground) Horizontal Speed Conservation (after hitting the ground) By using different values for each parameter, the ball's motion changes each time
- Publisher: Husam Aldahiyat
- Date Released: 25-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Bouncing Smiley Face
- License: Freeware
- Price: 0.00


The laws for rotation are probably wrong (I made them up actually), but that's not what this file is about. Shown here is a very simple code that creates a nice animation, which can be quickly edited to suit anyone's needs. The parameters are ball radius, gravity, initial velocity in the Y direction, initial velocity in the X direction, vertical speed conservation (%), horizontal speed conservation (%) and initial angular velocity. Please note that the ball may stop moving at different locations for different trials, even with the same input parameters. This is due to the slight randomization of the deformations of the ball and the ground, which could lead to the ball getting "stuck" to the ground at times and stopping there. This is normal and deliberate. Set the vertical speed conservation as a value larger than 100 (e.g. 130) for...
- Publisher: Husam Aldahiyat
- Date Released: 27-03-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Cam Simulator
- License: Shareware
- Price:


User friendly edit boxes allow for the complete input of motion types and their properties, along with the characteristics of the cam and its follower. What follows are diagrams for displacement, velocity and acceleration, as well as an animated simulation of the cam profile and the follower. I put my code here because it helped me personally understand more about cams and their governing equations. So I filled the code with comments in hopes of providing help for both mechanics students and new programmers.
- Publisher: Husam Aldahiyat
- Date Released: 23-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Custom Internet Search Bar for MATLAB
- License: Shareware
- Price:


Twenty pre-set websites are provided, but it is very easy to edit any of them to add a website of your own. Calling one of the mfiles with an argument opens your web browser and searches the website specified by the function call using your input argument. Examples: google Custom Internet Search Bar for MATLAB youtube The Lonely Shepherd wiki MATLAB walpha opamp urband MATLAB thesaurus big pic i can haz funny newgrounds tarboy metacritic avatar lyrics ether nas imdb memento gmail important meeting gamefaqs river raid flickr rose FEX filter design facebook john doe ebay hdtv dictionary matlab cssm perms amazon undercover philosopher
- Publisher: Husam Aldahiyat
- Date Released: 18-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Dynamic Response Simulator
- License: Shareware
- Price:


A project for a course last semester (which would explain the overblown "User Manual"), I thought of putting it here to see what everyone else thought about it. Its use is pretty straightforward, but if you need instructions, go to More -> Help on the menu toolbar.
- Publisher: Husam Aldahiyat
- Date Released: 22-04-2013
- Download Size: 481 KB
- Download
- Platform: Matlab, Scripts
- Euler/Fixed Angles Properties
- License: Shareware
- Price:


Easy to use GUI that gives Euler angles for different rotation matrices and gives rotation matrices for different Euler angles. Also it animates the angle rotations one by one for more understanding.
- Publisher: Husam Aldahiyat
- Date Released: 16-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Extract Red Objects from Aerial Image
- License: Freeware
- Price: 0.00


Given an aerial image of a city block this program extracts all objects deemed "red". It is simple and short and should help those wanting to get a foot in image processing.
- Publisher: Husam Aldahiyat
- Date Released: 12-03-2013
- Download Size: 2120 KB
- Download
- Platform: Matlab, Scripts
- Globs Game Player and Solver
- License: Shareware
- Price:


Globs is an easy game that you can learn to play in 10 seconds. This GUI creates different game layouts for you to play and offers ways to solve any game offered to it.
- Publisher: Husam Aldahiyat
- Date Released: 24-06-2013
- Download Size: 51 KB
- Download
- Platform: Matlab, Scripts
- Graphical Simulation of an Elevator
- License: Shareware
- Price:


Upon giving the number of floors as input, the elevator takes a random number of passengers and takes them up to a random floor between 2 and number of floors, before going down and picking up other passengers. The code has extensive comments explaining how everything works.
- Publisher: Husam Aldahiyat
- Date Released: 22-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- MATLAB Earthquake
- License: Freeware
- Price: 0.00


mquake(h,int,dur,op1,op2) Randomly vibrates graphical objects, where: h: Handle of required object(s) (scalar or vector) int: Intensity of vibration (scalar) dur: Duration of vibration in seconds (estimate, scalar) op1: 1 -> Object returns to starting position at the end 0 -> Object ends up where earthquake lands it op2: 1 -> Confine object to screen limits 0 -> Vibrate freely Setting OP2 to 1 will confine the vibrating object to its container's limits. It confines a figure to the screen limits, and confines axes and uicontrols to the limits of the figures containing them. + Example: % Vibrate figure t=0:.1:4; y=cos(t); plot(t,y) mquake(gcf,2,5,0,1)
- Publisher: Husam Aldahiyat
- Date Released: 12-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- MATLAB Goto Statement
- License: Shareware
- Price:


It goes without saying that this code is mainly just for entertainment purposes, since using goto() is considered lazy programming and is a debugging nightmare. With that out of the way, I present to you goto.m, similar to the goto() or jump() commands in other programming disciplines. Syntax: goto(pointer,file) return % All goto() commands need to be followed by a 'return'! pointer could be an integer representing a line number in the m file, a string addressing a label in the m file, an array consisting of line numbers to consecutively jump to, or a cell array consisting of label strings to jump to. Using inf as an input jumps to the end of the code, while using NaN jumps to a randomly chosen line number (credit to Loren for the not-so-deliberate inspiration). The second input, file, is optional. It states the code file to which...
- Publisher: Husam Aldahiyat
- Date Released: 24-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- MATLAB Picross
- License: Shareware
- Price:


Picross is a fun game where you fill in tiles based on outer numbers for each of the vertical and horizontal lines of the grid. The end result is a picture consisting of filled tiles. The code has built-in designs and a special draw mode that enables you to create your own.
- Publisher: Husam Aldahiyat
- Date Released: 12-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- MATLAB Pool
- License: Shareware
- Price:


This is a simple and straightforward demonstration of a 3D pool game using MATLAB. There are 6 balls and you can pocket them in any order you want.
- Publisher: Husam Aldahiyat
- Date Released: 09-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Mth Order Piecewise Spline Interpolation
- License: Shareware
- Price:


GSP is a graphical user interface which takes x and y points as inputs, along with the order m, then outputs mth order splines between each of the x points. In most cases additional constraints are to be entered as well. Example: Input: x points : [1 2 3 4] y points : [2 7 -1 5] Order : 2 *One Additional Constraint is Required* f '' (1) = 0 Output: Polynomials: 0 5 -3 -13 57 -55 27 -183 305 In the Range: 1 2 2 3 3 4 This means the following: for 1 < x < 2 y = 0*x^2 + 5*x - 3 for 2 < x < 3 y = -13*x^2 + 57*x - 55 for 3 < x < 4 y = 27*x^2 - 183*x + 305
- Publisher: Husam Aldahiyat
- Date Released: 26-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- pigeon.m
- License: Shareware
- Price:


Draws a 3D pigeon and has it flap its wings.
- Publisher: Husam Aldahiyat
- Date Released: 15-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Simple Fuzzy Control Demonstration
- License: Freeware
- Price: 0.00


This GUI demonstrates the use of fuzzy logic to control the steering of a car. Two sensors, one on each side of the car, detect the distances from the pavement, with which the "error" critereon is calculated. This, along with the change in error make the two inputs for our fuzzy system. The output is the angle of rotation (in degrees) for the steering wheel. The car models were made in ProE and converted using cad2matdemo() here on the FEX. The fuzzy sets can be viewed through the Fuzzy Logic Toolbox and changed accordingly for a different performance
- Publisher: Husam Aldahiyat
- Date Released: 25-05-2013
- Download Size: 51 KB
- Download
- Platform: Matlab, Scripts
- Tetris for Dummies
- License: Shareware
- Price:


Tetris game code with sounds, high scores and gravity. It is intended as a learning tool with its extensive comments and laid out code with easy getarounds and simple functions. The code explores things such as loops and if statements, patch, save/load, GUI techniques, callbacks and sound generation. It can be easily edited to suit one's needs and/or to make it more modular, and I hope at least some people will learn new things from it :)
- Publisher: Husam Aldahiyat
- Date Released: 07-05-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
