MATLAB Lecture SchoolofMathematicalSCiencesXiamenUniversityhttp:/gdjpkc.xmu.edu.cn Several special functions provide values of useful constants 3.14159265 Imaginary unit S 52 Float t relati realmin Smallest floating-point number. 21022 almax 1023 Largest floating-point number, 9 Infinity Not-a-numbe MATLAB - Mathematics - Matrices and Linear Algebra Matrices in maTlaB 5.*Initializing Variables with Keyboard Input my_val= input (Enter an input value: ) > age s input ('Please enter your age: ')i Please enter your age: 2 > profession input ('Please enter your profession:','s) Please enter your profession: teacher Clearing 8 Clearing the Command Window. This does not clear the workspace, but only clears the view. Afterwards, you still > clear Remove items from workspace, freeing up system memory Lec1-6MATLAB Lecture 1 School of Mathematical Sciences Xiamen University http://gdjpkc.xmu.edu.cn Lec16 MATLAB → Mathematics → Matrices and Linear Algebra → Matrices in MATLAB 5. *Initializing Variables with Keyboard Input my_val = input ( ‘Enter an input value:’ ); >> age = input (‘Please enter your age: ’); Please enter your age: 20 >> profession = input (‘Please enter your profession: ’, ’s’); Please enter your profession: teacher l Clearing >> clc % Clearing the Command Window. This does not clear the workspace, but only clears the view. Afterwards, you still can use the up arrow key to recall previous functions. >> clear % Remove items from workspace, freeing up system memory