What is ''why' command
55 views (last 30 days)
Show older comments
Arun Badigannavar
on 19 Nov 2012
Edited: Patrick Kamdem
on 14 Sep 2017
What exactly the 'why' command gives?
0 Comments
Accepted Answer
Walter Roberson
on 19 Nov 2012
>> help why
why Provides succinct answers to almost any question.
why, by itself, provides a random answer.
why(N) provides the N-th answer.
Please embellish or modify this function to suit your own tastes.
You can read or edit the source:
edit why
2 Comments
More Answers (1)
Patrick Kamdem
on 14 Sep 2017
Edited: Patrick Kamdem
on 14 Sep 2017
Try typing "why" in MATLAB (minus the quotes). Each time you get a response, try the why command again.
0 Comments
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!