RYAN'S WEBSITE

Just something small and tiny.

Held by Ryan Ruoshui Yan.


Here is the world of a nerdy guy.

Visited:

Matlab Notes

Matlab

Matrix Laboratory

Save & Load vars in workspace

save myfile
load myfile

Refer to prev used value

ans

Display all var names used

who
whos % More detailedly
clear % Clear all vars
clear x % Clear a specific var

Long Assignment

  • Long assignments can be extended to another line by using an ellipses (…).
...

Format

  • Display diff digits
  • Types
    • Short format (4 digits, default)
    • Short e format (short + exponent)
    • Long format (16 digits)
    • Long e format (long + exponent)
    • Bank format (2 digits)
    • Rational Format (Give the closest rational expression)
format long
format short
format % Short for "format short"
format bank
format short e
format long e
format rat

Apostrophe

’’

RECENT

Semantics Notes

Disclaimer: The notes below are fully/partially NOT created by myself. They are from slides and/or wikipedia and/or textbook. The purpose of this post is simply to learn and review for the course. If you think something is inappropriate, please co...…

MORE
EARLIER

Algorithm Notes

Disclaimer: The notes below are fully/partially NOT created by myself. They are from slides and/or wikipedia and/or textbook. The purpose of this post is simply to learn and review for the course. If you think something is inappropriate, please co...…

MORE