Sunday, May 24, 2009

Few BASIC FUNCTION you should know before using MATLAB

help:lists topic on which help is available
helpwin: opens interactive help window
help topic:provides help on topic
who: lists all variable currently in workspace
whos:list variables with size
what:lists m,mat,mex files on disk
clear: clear the workspace i.e remove all the variable defined
clear x y z :remove only variable x y z
clear all:it clear all function and variables from workspace
clc: clear command window ,command history is lost
home:same as clc
pwd: shows current working directory

linspace: create a vector with given number of element linearly spaced between two numbers

No comments:

Post a Comment