Software Listing of Author : "Fahad Al Mahmood"
- Billiard Ball Animation
- License: Freeware
- Price: 0.00


This Program Performs the following: (1) Animates the movement of a Billiard Ball on a table that has a surface friction (mu) and coefficient of restitution (e) for the sides and saves it as an AVI file. (2) Outputs series of rows and columns that displays the stream data of (Time),(X),(Y),(V), and (th) to screen. (3) Outputs the initial X-Y coordinates along with the final coordinated when the speed of the ball reaches zero. (4) Plots 4 figures that shows: a- (X vs. Y). b- (Time vs. X). c- (Time vs. Y). d- (Time vs. Velocity). (5) Saves the Above Plots as a (JPEG) file. (6) Outputs series of rows and columns that displays the stream data of (Time),(X),(Y),(V), and (th) to a file. TO RUN DEMO: billiard(-1)
- Publisher: Fahad Al Mahmood
- Date Released: 25-05-2013
- Download Size: 133 KB
- Download
- Platform: Matlab, Scripts
- dat2xls
- License: Freeware
- Price: 0.00


This program reads a (text data file) consisting of headers, column titles and column data (see attached data.txt). Then it opens or creates existing excel file and saves data into specified sheetname. NOTE: The program will automatically identify the number of headerlines, columns and the column names using what so called "common sense"! dat2xls(datfile,xlsfile,sheetname) dat2xls(datfile,xlsfile) datfile: Name of data file. xlsfile: Name of excel file. sheetname: sheet name (optional, default is 'Sheet1') if specified, a sheet with the specified name must be existing. Example: datfile = 'data.txt'; xlsfile = 'data.xls'; sheetname = 'Sheet2'; dat2xls(datfile,xlsfile,sheetname) %dat2xls(datfile,xlsfile) % Will write to 'Sheet1'
- Publisher: Fahad Al Mahmood
- Date Released: 06-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Encode Decode ASCII Binary
- License: Freeware
- Price: 0.00


Very simple program to convert regular ASCII text to a block of binarry numbers and vise versa. Just run the following commands to view an example: encode('test.txt','binary.txt') decode('binary.txt','ascii.txt')
- Publisher: Fahad Al Mahmood
- Date Released: 22-03-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Helicopter Control Design
- License: Freeware
- Price: 0.00


Simple Simulink simulation for a helicopter control design. The package includes a paper, matlab file, and a simulink model. Read the paper for detailed description of the simulink model. The design is based on the book by Gareth D. Padfield: (Helicopter Flight Dynamics: The Theory and Application of Flying Qualities and Simulation Modeling). AIAA Education Series, 1996.
- Publisher: Fahad Al Mahmood
- Date Released: 22-04-2013
- Download Size: 481 KB
- Download
- Platform: Matlab, Scripts
- Laminate Analysis Program
- License: Freeware
- Price: 0.00


This program consists of two file: 1) Laminate.m 2) input.dat (input.dat) needs to be modified according to the laminate to be analysed. All the plies properties and loadings goes into this input file. The program produces an output file containing all the anaylsis results. TO run the program simply execute: Laminate('input.dat','output.out')
- Publisher: Fahad Al Mahmood
- Date Released: 23-05-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- pic2xls
- License: Freeware
- Price: 0.00


pic2xls(pic,file,sheet,param) pic2xls : Inserts a picture into an Excel file pic: image file name (.gif,.jpg,.bmp,..etc) file: Excel file name (new or existing) sheet: sheet name. param: consists of a row of 4 numbers: [left top width height] left: image location from left side (pixels) top: image location from top side (pixels) width: image width (pixels) height: image width (pixels) Example: pic = 'tree.jpg'; file = 'file.xls'; pic2xls(pic,file,'Sheet1',[0 0 200 200]);
- Publisher: Fahad Al Mahmood
- Date Released: 23-05-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- spellcheck
- License: Freeware
- Price: 0.00


[status,suggestions] = spellcheck(text); status = spellcheck(text); Examples: [status,suggestions] = spellcheck('Hellow'); status = spellcheck('Emirates');
- Publisher: Fahad Al Mahmood
- Date Released: 07-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- table2word
- License: Freeware
- Price: 0.00


table2word(titles,m) table2word(titles,m,table_title) table2word(titles,m,style) table2word(titles,m,style,table_title) table2word(titles,m,filename) table2word(titles,m,filename,table_title) table2word(titles,m,style,filename) table2word(titles,m,style,filename,table_title) table2word : creates a table in Microsoft Word using titles and a matrix. Specifying file name and tabel style is optional. titles: Column titles (cell array). m: matrix of numbers. filename: Name of excel file. style: Table Style (from a list listed in file help). table_title: Title of Table to be displayed on top of table. Examples: titles = {'1st','2nd','3rd','4th','5th','6th','7th','8th','9th','10th'}; m = magic(10); table2word(titles,m); table2word(titles,m,'Table Professional'); table2word(titles,m,'table.doc'); table2word(titles,m,'Table List...
- Publisher: Fahad Al Mahmood
- Date Released: 07-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- xlcolumn
- License: Freeware
- Price: 0.00


xlcolumn(column) column: Can be either column name (characters) or column number (positive integers). NOTE: Excel sheet is limited to 256 columns. Therefore, column number should be between (1-256) and column name should be between ('A' - 'IV'). Example: xlcolumn('K') xlcolumn('EQ') xlcolumn(234) xlcolumn(19)
- Publisher: Fahad Al Mahmood
- Date Released: 23-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- xlscell
- License: Freeware
- Price: 0.00


xlscell(xcell,value) xlscell(xcell,value,filename) xlscell(xcell,value,filename,sheetname) xcell: cell name (range) (ex. C3 or A2:F19) value: value(s) to assign to specified cell. filename: Name of excel file. sheetname: sheet name. Examples: filename = 'file.xls'; value = {'N1','N2','N3','N4'}; xlscell('C4',value); xlscell('C4',value,filename); xlscell('C5',rand(10,4),filename); xlscell('C5',rand(10,4),filename,'Sheet1');
- Publisher: Fahad Al Mahmood
- Date Released: 09-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- xlschart
- License: Freeware
- Price: 0.00


xlschart(titles,m,chartypechart_title,) xlschart(titles,m,chartype,chart_title,filename) xlschart(titles,m,chartype,chart_title,xtitle,ytitle) xlschart(titles,m,chartype,chart_title,filename,sheetname) xlschart(titles,m,chartype,chart_title,xtitle,ytitle,filename) xlschart(titles,m,chartype,chart_title,xtitle,ytitle,filename,sheetname) xlschart : writes column headers and a matrix to excel and graphing all columns or 2 or more specified columns using excel. titles: Column titles (cell array). m: matrix of numbers. chartype: integer number corresponds to chart type. chart_title: This title will be used for both chart sheet name and chart title. filename: Name of excel file. sheetname: sheet name. xtitle: title of column to be x-axis (picked from titles). ytitle: title(s) of column to be y-axis (picked from titles)....
- Publisher: Fahad Al Mahmood
- Date Released: 07-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- xlsfont, xlsalign, xlsborder, xlswordart, xlscomment
- License: Freeware
- Price: 0.00


Look at functions help for more details and descriptions. Also included (PDF) file showing Excel Color Index to be used for specifying colors in those functions. Examples: xlsfont('file.xls','Sheet1','whole','font','Courier New'); xlsfont('file.xls','Sheet1','2:2','interior',1,11,4); xlsfont('file.xls','Sheet1','A1','underline',3); xlsalign('file.xls','Sheet1','A1:A2','MergeCells',1); xlsalign('file.xls','Sheet1','A1:A2','Horizontal',3,'WrapText',1); xlsalign('file.xls','Sheet1','A1:A2','Orientation',90,'ShrinkToFit',1); xlsborder('file.xls','Sheet1','A1:A2','Box',1,2,1); xlsborder('file.xls','Sheet1','A1:B2','Cross',6,4,5); xlsborder('file.xls','Sheet1','A1:A2','EdgeTop',1,2,1,'EdgeBottom',4,3,3); xlswordart('file.xls','Sheet1',7,'My Profile!',30,'Impact',1,1,50,50); xlscomment('file.xls','Sheet1','B4','This is my Comment!',1)
- Publisher: Fahad Al Mahmood
- Date Released: 06-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- xlsgraph
- License: Freeware
- Price: 0.00


xlsgraph(xtitle,ytitle,chartype,chart_title,filename,sheetname) xlsgraph : creates an Excel graph by searching specified sheet for selected columns headers. xtitle: title(s) of column to be x-axis (picked from titles). ytitle: title(s) of column to be y-axis (picked from titles). chartype: integer number corresponds to chart type (from the list below) or string of characters to name the chart type (ex. '3DLine') chart_title: This title will be used for both chart sheet name and chart title. filename: Name of excel file. sheetname: sheet name. CHARTYPE: 1- ColumnClustered 2- ColumnStacked 3- ColumnStacked100 4- 3DColumnClustered 5- 3DColumnStacked 6- 3DColumnStacked100 7-3DColumn 8-BarClustered 9-BarStacked 10-BarStacked100 11-3DBarClustered 12-3DBarStacked 13-3DBarStacked100 14-Line 15-LineStacked 16-LineStacked100...
- Publisher: Fahad Al Mahmood
- Date Released: 11-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- xlsheets
- License: Freeware
- Price: 0.00


Creates new Excel file (or opens it if file exists) and name the sheets as listed in (sheetnames) and saves the workbook as (filename). xlsheets(sheetnames,filename) xlsheets(sheetnames) sheetnames: List of sheet names (cell array). filename: Name of excel file. NOTE: Follow the following rules when naming your sheets: 1- Make sure the name you entered does not exceed 31 characters. 2- Make sure the name does not contain any of the following characters: : / ? * [ or ] 3- Make sure you did not leave the name blank. 4- Make sure each sheet name is a character string. 5- Make sure you do not have two sheets or more with the same name. Example: sheetnames = {'Mama','Papa','Son','Daughter','Dog'}; filename = 'family.xls'; xlsheets(sheetnames,filename); xlsheets(sheetnames);
- Publisher: Fahad Al Mahmood
- Date Released: 17-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- xlsprotect
- License: Freeware
- Price: 0.00


SYNTAX xlsprotect(file,'protect_file',pwd2open,pwd2modify,read_only_recommended,create_backup) xlsprotect(file,'unprotect_file',pwd2open) xlsprotect(file,'unprotect_file',pwd2open,pwd2modify) xlsprotect(file,'protect_sheet',sheetname,password) xlsprotect(file,'protect_sheet',sheetname,password,s_options) xlsprotect(file,'protect_sheet',sheetname,s_options) xlsprotect(file,'protect_sheet',sheetname) xlsprotect(file,'unprotect_sheet',sheetname) xlsprotect(file,'unprotect_sheet',sheetname,password) xlsprotect(file,'protect_workbook',password) xlsprotect(file,'protect_workbook') xlsprotect(file,'unprotect_workbook') xlsprotect(file,'unprotect_workbook',password)
- Publisher: Fahad Al Mahmood
- Date Released: 17-03-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
