Beruflich Dokumente
Kultur Dokumente
Codes
Posted on 16 August 2014 at 00:43
If you are a MATLAB aspirant then you will definitely enjoy this article full to length. This
article is about the some funny and interesting commands that exist in MATLAB
programming language. Lets have a look on these.
1. INTRO
>>intro
2. DEMO
>>demo
The above command in MATLAB will list all the demos available offline on your
MATLAB Software Package. These demos include videos tutorials, script files and GUI
demos.
3. LOGO
>>logo
This command in MATLAB will show L-shaped MATLAB logo in figure window of
MATLAB.
4.SURF(MEMBRANE)
>>surf(membrane)
This command in MATLAB will show the membrane plot . This demo is a membrane like
L-shaped Matlab logo. You can use surf(membrane(n)) command where n can be 1,2,3...
etc., giving you the number variation in this surf plot.
5.FIFTEEN
>>fifteen
This command will launch a GUI of number slider game. This is a helpful demo in
MATLAB GUI for interested MATLAB aspirants.
6. EARTHMAP
>>earthmap
This command in MATLAB will show earth's map with several ways to represent the
Earth's topography.
advertising
You may like the following commands in this regard.
>>wrldtrv
>>transpdemo
7. SPY
>>spy
This command will show figure as below.
8. PENNY
>>penny
9. LIFE
>>life
This command will show following GUI.
10. WHY
>>why
This command in MATLAB will provides succinct random answers to almost
any question(Funny!).
11. !NOTEPAD
>>!notepad
12. IMAGE
>>image
Following is the result of above code. See that how MATLAB can store data images in
double data type.
The above code generates the beautiful Heart Shape. Math is fun with MATLAB!