MATLAB Answers

What is ''why' command

What exactly the 'why' command gives?


Log in to comment.



1 Answer

Answer by Walter Roberson
on 19 Nov 2012
 Accepted Answer

>> 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


Jan Simon
on 19 Nov 2012

In fact, interesting.

Log in to comment.

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!