GNU OCTAVE is a powerful tool on Linux which is similar to MATLAB for Windows. The syntax is almost the same.
It is easy to install.
The installation can be done as:
system -> Administration -> synaptic packet manager
select octave3 from the package and install it.
We have already obtained a set of data obtained from gmid.dat (refer to the prev post).Open it with openoffice. At the right end of openoffice there is an option "std",click it thrice to get "blk".By selecting blk, we can select the data columnwise,(which isn't possible otherwise).
Open up a terminal.
Type octave
octave:1>gm = [ gm values copied from the gmid.dat]
//press q to escape the END statement
octave:2>id = [ id values copied from the gmid.dat]
octave:3>plot (gm,id)
octave:4>xlabel('gm')
octave:5>ylabel('id)
octave:6>title('gm vs id curve')
to save the plot, go back to the terminal,
octave:7>print("figure1.png")
octave:8>reload
It is easy to install.
The installation can be done as:
system -> Administration -> synaptic packet manager
select octave3 from the package and install it.
We have already obtained a set of data obtained from gmid.dat (refer to the prev post).Open it with openoffice. At the right end of openoffice there is an option "std",click it thrice to get "blk".By selecting blk, we can select the data columnwise,(which isn't possible otherwise).
Open up a terminal.
Type octave
octave:1>gm = [ gm values copied from the gmid.dat]
//press q to escape the END statement
octave:2>id = [ id values copied from the gmid.dat]
octave:3>plot (gm,id)
octave:4>xlabel('gm')
octave:5>ylabel('id)
octave:6>title('gm vs id curve')
to save the plot, go back to the terminal,
octave:7>print("figure1.png")
octave:8>reload
No comments:
Post a Comment