What is MATLAB ?. MATrix LABratory Originally, it was a front-end to FORTRAN matrix routines developed in the 1970’s @ U. of New Mexico and Stanford Today it is a powerful, interactive mathematics ENVIRONMENT with many powerful capabilities (matrices, symbolic math, analysis)
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
function a = randint(m,n)
a= floor (10 * rand(m,n)
Place in a file called randint.m
first line declares function name,input arguments and output arguments
without this line the file would be a script file
A statement z = randint(4,5) will pass 4,5 to m,n in the function file with the output result passed to variable z.