Software Listing of Author : "Nassim Khaled"

This m-script shows a simple simulation for the crank-slider mechanism of the piston.

  • Platform: Matlab, Scripts

This folder contains a word document (optimization_problem_wth_solution.doc) that contains a description for an optimization problem along with its solution. The folder contains two m-script file that contain the solution for the Gradient_Descent_minimum and Gradient_Descent_maximum problems included in the word document. The algorithm for the gradient descent is included in the m-script files. For more information, you could go to wikipedia. You don't need the optimization toolbox to run the script.

  • Platform: Matlab, Scripts

This script plots two sets of 1D data on the same figure with two separate axis and with the same gridding. The code also checks if the x-axis data are the same, if the x-axis data are not the same, it draws an additional x-axis on the top of the figure. The two sets of data with their axes are drawn with two colors for ease of reading

  • Platform: Matlab, Scripts

This is a simple code to extract data from an existing matlab 2D or 3D figure.

  • Platform: Matlab, Scripts

This is a general purpose controller that I have built using the Fuzzy Logic Rules. You don't need to have any mathematical background in fuzzy logic to run this model. You don't need to have fuzzy logic toolbox to run it aswell. It contains both linear and a nonlinear examples. It also has a read me that explains how to make use of it to your own benefit.

  • Platform: Matlab, Scripts

% This code is used to digitize figures that you find in publications, journals, or simply scanned reports or documents by clicking on the desired points using the mouse. % You can use it to pick [x,y] points by clicking on the original scanned plot. % To run, simply type: Nassim_Grabit0 % and then follow the instructions % % % % Notes: % 1- Plots or figures should be of jpg, png, bmp or any other format that is % acceptable by matlab and in the same directory as these m-files you are using. % 2- You don't have to select the points in increasing or decreasing % order. Click wherever you want on the plot. I have written a small code % to sort the vectors in ascending order % 3- The [x,y] data points will be saved in GRABBED.mat. Load % GRABBED.mat and the first column of GRABBED will be your absisca points, the second % are the...

  • Platform: Matlab, Scripts

This is a simple gui application that used gaussian quadrature inegration based on index=1-3. It can be easily extended to higher order of indices for better accuracy. For more information visit: http://en.wikipedia.org/wiki/Gaussian_quadrature

  • Platform: Matlab, Scripts

This file contains a guide_simulink_sfunction interface. It is a fairly easy and simple application. It was mainly created as a reply for a question from one of the students on 'how to display the simulink results in real time in a gui interface, outside the boundries of simulink?' the gui(simulink_gui_interface) is a simple one. It calls the simulink model(simulink_model.mdl), which in return uses an s-function(sfun.m) to plot the data. I tried to make this example as simple as possible so that more people would benefit from this application. One more important observation, if you run the simulink model (simulink_model.mdl) from simulink, it will take more time than running the simulink model from the interface itself (simulink_gui_interface)!! To run, just type in the Matlab workspace: simulink_gui_interface Submitted by Nassim...

  • Platform: Matlab, Scripts

%inside_triangle is used to check if a point P is inside %the triangle P1P2P3 or not. % %Inputs: P, P1, P2 and P3 are vectors of length 2 or three of the % form [x y z] or [x y] % %Output: True %True=1 => P is on or inside P1P2P3 %True=0 => P is outside P1P2P3 % %Example: %True=inside_triangle([0.5 0.5],[0 0],[0 2],[2 0]); % %The following algorithm is implemented % If P is ON or INSIDE the triangle % % Area(PP1P2) + Area(PP2P3) + Area(PP3P1) = Area(P1P2P3) % % If P is OUTSIDE then, % % Area(PP1P2) + Area(PP2P3) + Area(PP3P1) > Area(P1P2P3) % % Area of a triangle can be found using the determinant: % % Area = abs(1/2 * |x1 y1 1| ) % |x2 y2 1| % |x3 y3 1| %

  • Platform: Matlab, Scripts

This Simulink file contains a subsystem that performs the on-to-one mapping from [-pi,pi] to [0,2*pi]. The file contains four different cases to illustrate the various possibilities.

  • Platform: Matlab, Scripts

Position determines the relative position of a planar point C with respect to a planar segment joining A and B. This is not intended for 3D points. Pos=0 =>the point C is collinear with A and B Pos=1=>the point C is above the segment Pos=-1=>the point C is below the segment Example A=[0 0 0]; B=[1 1 0]; C=[1 0 0]; Pos=Position(B,A,C) Since C is below AB then Pos=-1 Note: in case of 2D points, you still have to include the z-ordinate, i.e if you have a point S=[1 2], add a zero to get S=[1 2 0], and use the same procedure as the above example

  • Platform: Matlab, Scripts

rand_extended computes a random number in the interval [a,b] It is basically an extended version of the command rand Inputs: a: the lower bound of the interval b: the upper bound of the interval m,n(optional): dimensions of the matrix of random numbers to be generated Outputs: M: random number/matrix in the interval [a,b]

  • Platform: Matlab, Scripts

This file contains a funtion (mfile) and a simulink block. They both give the approximation of the saturation of a function between the values [-1,1]. The main advantage and purpose of designing this simple yet powerful function is to obtain a smooth funtion that has a continous derivative. It can be easily adjusted to different lower and upper bounds by alterning the value "5" in the formula. Play around with it as you desire and as suitable to your application. It can be used in control applications like sliding mode control (that uses the saturation) and other control schemes.

  • Platform: Matlab, Scripts

This is a video recording of an introduction crash course for Simulink. It contains the video plus the Simulink file used in the lecture. The example contains basic building blocks of Simulink such as the step function, the scope, the gain, the transfer function and the gain. The lecturer shows how to drop the blocks and change some important configuration parameters for better accuracy. He also shows how to change the parameters of the scope to be able to transfer data from Simulink to Matlab's workspace.

  • Platform: Matlab, Scripts

I have built the rules in simulink and not using the fuzzy logic toolbox.This controller is a two input one output fuzzy controller The first input is the error=x. The second input is the error_dot=y(time derivative of the error) The output of the fuzzy controller is the CHANGE in the control action and NOT the control action.

  • Platform: Matlab, Scripts

this can be used to extract the frequency of a simple harmonic vibrations from frames vibration_from_images.m is a function that can be used to extract the frequency of a simple harmonic vertical vibration. The mass has to have a horizontal landmark. The included video (Video.avi) has been recorded as an illustrative example. vide02pic.m (shared by Shiquan Wang in Matlab central) was used to extract the individual frames. Hough_Grd.m(shared by Tao Peng in Matlab central) was used to detect the lines in the image. Only the horizontal lines in the image has been kept(by keeping lines with small slopes).

  • Platform: Matlab, Scripts

This is a virtual reality recording created using simulink. This is a recording to one of the examples included in the book "Virtual Reality for Matlab(R) and Simulink(R) Users": http://www.springer.com/computer/information+systems+and+applications/book/978-1-4471-2329-3 The codes and movies for the book are available for free download at: http://extras.springer.com/2012/978-1-4471-2329-3

  • Platform: Matlab, Scripts
New Reviews

Print Inspector

Whether you are using a printer connected to your local desktop computer or a print server sometimes you need to see whats going on in your printer by having a close look at the print jobs sent by the users. Print Inspector is such type software ...


Disk Genius

Disk Genius was formerly known as Partition Guru which is an all-in-one solution for disk partition management, data recovery and disk repairing. It can recover lost files from partition, backup and restore partition table, clone partition or clone ...


Safe In Cloud

It is quite difficult to find any computer users nowadays who do not need to use the web, for any purpose. Whether it is for education or entertainment, the web is your best resource. You also need to use various online services for banking, ...


PictBear

Nowadays, a majority of PC users resort to digital image editing once in a while. It may be required for retouching image captured in smart phones or for creating an album in Facebook. For some people, tinkering with digital images is a pastime too. ...


Panda Cloud Cleaner

PC security has become a tricky and complicated subject both for home users and network supervisors, with complexity and risk factors multiplying over the years. Using a single antivirus app may not be enough anymore. That explains why many users ...


SnapCrab

Nearly every PC users need to take screenshots from time to time, whether it is for personal or professional needs. While using the basic Windows screenshot capture method is available, it is not adequate for everyone. When you want to capture ...


BitKiller

Dealing with various types of data efficiently holds the key to success in any computing task. Apart from generating new data and modifying existing files, it becomes necessary to delete existing files at times. While most users resort to using ...


New Downloads

Voxal Voice Changer Free
for Mac

Voxal is free voice changer
software for Mac designed to
enhance any game or
application that uses a
microphone. Change ...

Project Timer

Project Timer, a project timer
for the Windows taskbar
notification area. Project
Timer is a simple but powerful
windows ...

GlassWire Firewall

GlassWire\'s free firewall
software helps protect your
computer, privacy, and data by
monitoring your network
activity. ...

RationalPlan Single Project

RationalPlan Single Project is
a project management software
covering the project
management areas starting with
WBS ...

Devart ODBC Driver for
PostgreSQL

Devart ODBC Driver for
PostgreSQL is a
high-performance connectivity
tool with enterprise-level
features for accessing ...

Devart ODBC Driver for
Oracle

Devart ODBC Driver for Oracle
is a high-performance
connectivity solution with
enterprise-level features for
accessing ...

Sheet Lightning Pro

Sheet Lightning is a
specialised engineering 2D/3D
CAD System for creating and
unfolding sheet metal designs
for ...

AllMyNotes Organizer
Portable

This is simply the most
advanced software to keep all
private info securely
encrypted on USB drive, worry
free. Simply ...

Pixillion Image Converter
Software Free

Pixillion Image Converter
Software Free is perfect for
converting your image files
for posting on the web,
emailing to ...

Devart ODBC Driver for
MySQL

Devart ODBC Driver for MySQL
is a high-performance
connectivity solution for
accessing MySQL, Microsoft
Azure Database ...