Message Boards Message Boards


How does the UnitStep function works?

Posted 8 years ago
1 Reply
1 Total Likes

I’m just started to use Mathematica. I have been going through various demonstration files, and have so far didn’t understand the language really I just discovered the UnitStep function.

enter image description here

For me it looks like the step is always made on were x is zero.

How can I change the function that the step is made at another x value?

Cheers Chris

POSTED BY: Chis Schmidt
Posted 8 years ago

You are probably going to kick yourself when you see this:

Plot[UnitStep[x - 2], {x, -3, 3}]
POSTED BY: Bill Simpson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract