Graphics with Matlab Welcome to IT’s seminar on Matlab Sam Gordji, Weir 107
General Information Questions will be answered during the seminar What is Matlab? –Matlab does mathematical operations and generates graphs –Its competitors are Mathematica, Maple, and a few others –Matlab is available on willow and sweetgum
General Information your questions Any user with an account on willow or sweetgum may access Matlab Please fill out the performance report and leave your address so we may contact you for follow up questions
Introduction Matlab is a very powerful and user friendly package that most students from many disciplines may use Programming and generating graphs with Matlab is simple To activate Matlab in willow or sweetgum enter: matlab The University has a few modules of Matlab to find out about various “Toolboxes” enter: “ver” while Matlab is activated, enter version to obtain the version
Introduction A good place to start on Matlab: Matlab is flexible and mostly uses familiar mathematical and engineering notations
Introduction Matlab’s main function is to perform Mathematical operations, Matlab may be called by other programs Matlab is the only package of its kind that creates “executables”
Today’s Topic Working with Matlab –Activate Matlab on willow –Perform simple operation –Use of “m” files –Examples of Matlab drawing graphs (plot2.m, plot x.m, us_pop.m and sinhplot.m)
Sin of x, plotx.m
US Population, us_pop.m