Any small program that is also really cool?

105 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

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

Accedi per commentare.

Più risposte (1)

Image Analyst
Image Analyst il 2 Ago 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:

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by