Any small program that is also really cool?

116 views (last 30 days)
So I am new to Matlab. Our professor gave us a assignment to find some code and then present it. So far we have only studied pretty basic functions like the if,elseif,for,while,switch etc. So I want you people to share with me any cool program that i can present which uses these basic functions and maybe just maybe some others that I dont know too. It might help me learn them too. So the program can be anything thats cool. Could be a beautiful graph, a different graph, a random funny text generator etc. Thanks

Accepted Answer

Jos (10584)
Jos (10584) on 21 May 2019
Take a look at the function why.m
>> type why
  4 Comments
Uzair Khan
Uzair Khan on 21 May 2019
Thank you Superman. U really helped
Jos (10584)
Jos (10584) on 21 May 2019
You're welcome! And, btw, it is only Noddy, not Superman ;-)

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 2 Aug 2022
I may be biased but I think the coolest function is regionprops. It's really the heart of the Image Processing Toolbox. You can't do any (or much) image analysis without using regionprops.
There are also a lot of cool programs in the image creation contest:

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!