GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing en.wikibooks.org — MATLAB Programming/Fundamentals of MATLAB/Basic MATLAB commands - Wikibooks, open books for an open world Basic MATLAB commandDuring start to use the program, you may see "double greater than" symbols aka Some of the examples are as follows: >> 6+3 - 4/2 ans = 7 >> sind(30) ans = 0.5000 or you may even assign a value to a variable / perform simple algebra equations >> x = 200 % assigning value 200 to variable x x = 200 >> y = 120 % assigning value 120 to variable y y = 120 >> p = x-y % make a simple subtraction equation where the x is subtract y equals to p p = 80 Note: You can learn more about MATLAB operator from this page: MATLAB Programming/Fundamentals of MATLAB/MATLAB operator Basic CommandsThese commands listed below are the commands that you usually will encounter when using MATLAB clc - Clear command window. Hello WorldOnce Hello World, which is the simplest of programs, works the beginner can move on to explore the MATLAB workspace Using the workspace the beginner can then learn to manipulate basic MATLAB Variables For convenience Matlab allows the workspace to be saved and loaded using *.mat files. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |