<< Chapter < Page Chapter >> Page >
Problem Set for What is MATLAB?

Learn about the following terms using help command:

  1. workspace
  2. plot
  3. clear
  4. format
  5. roots

  1. >>help workspace WORKSPACE Open Workspace browser to manage workspaceWORKSPACE Opens the Workspace browser with a view of the variables in the current Workspace. Displayed variables may be viewed,manipulated, saved, and cleared.See also whos, openvar, save. Reference page in Help browserdoc workspace>>
  2. >>help plot PLOT Linear plot.PLOT(X,Y) plots vector Y versus vector X. If X or Y is a matrix, then the vector is plotted versus the rows or columns of the matrix,whichever line up. If X is a scalar and Y is a vector, disconnected line objects are created and plotted as discrete points vertically atX. ..........
  3. >>help clear CLEAR Clear variables and functions from memory.CLEAR removes all variables from the workspace. CLEAR VARIABLES does the same thing.CLEAR GLOBAL removes all global variables. CLEAR FUNCTIONS removes all compiled M- and MEX-functions.CLEAR ALL removes all variables, globals, functions and MEX links.CLEAR ALL at the command prompt also removes the Java packages import list.......
  4. >>help format FORMAT Set output format.FORMAT with no inputs sets the output format to the default appropriate for the class of the variable. For float variables, the default isFORMAT SHORT. ......
  5. >>help roots ROOTS Find polynomial roots.ROOTS(C) computes the roots of the polynomial whose coefficients are the elements of the vector C. If C has N+1 components,the polynomial is C(1)*X^N + ... + C(N)*X + C(N+1). ......

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, A brief introduction to engineering computation with matlab. OpenStax CNX. Nov 17, 2015 Download for free at http://legacy.cnx.org/content/col11371/1.11
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'A brief introduction to engineering computation with matlab' conversation and receive update notifications?

Ask