Hi all, I think I have found the answer by further googling/refining the question.
In case others have similar question, below is the syntax from the Matlab's documentation itself.

Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!