MATLAB Documentation for OOP
(For reference by students)


Class MStack

Method Summary
  MStack (data)

          Constructor that creates a linked list stack

  char ( )

          The string representation of the MStack

  pop ( )

          Pops the top item off the stack and returns it

  push ( )

          Push takes in an object and pushes it onto the stack

 

Method Detail

MStack

st = MStack(data)

Creates a MStack object

Data might be another stack or a list of stuff

st = MStack ( ) will create an empty stack.

 


Got comments\feedback\suggestions\complaints\anything whatsoever? Shoot the webmaster an email!

Website created & maintained by Shardul Bhatia and Wen Eu Cheah