Any small program that is also really cool?

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

 採用された回答

Jos (10584)
Jos (10584) 2019 年 5 月 21 日

0 投票

Take a look at the function why.m
>> type why

4 件のコメント

Uzair Khan
Uzair Khan 2019 年 5 月 21 日
Yes. I saw that. It is a good one. But its a built in. I would like to create a custom one maybe
Jos (10584)
Jos (10584) 2019 年 5 月 21 日
Take a look at the matlab file exchange, having tons of cool functions. Here is one of my own, for starters:
Uzair Khan
Uzair Khan 2019 年 5 月 21 日
Thank you Superman. U really helped
Jos (10584)
Jos (10584) 2019 年 5 月 21 日
You're welcome! And, btw, it is only Noddy, not Superman ;-)

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2022 年 8 月 2 日

0 投票

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:

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

質問済み:

2019 年 5 月 21 日

回答済み:

2022 年 8 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by