MATLAB Answers


What is ''why' command

What exactly the 'why' command gives?




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.

Join the 15-year community celebration.

Play games and win prizes!

Learn more
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!