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

New to MATLAB?

What is ''why' command

Asked by Arun Badigannavar on 19 Nov 2012

What exactly the 'why' command gives?

0 Comments

Tags

Products

1 Answer

Answer by Walter Roberson

Walter Roberson (view profile)

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

2 Comments

Jan Simon

Jan Simon (view profile)

on 19 Nov 2012

In fact, interesting.

Walter Roberson

Walter Roberson (view profile)

Contact us