Message Boards Message Boards

0
|
4028 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:
GROUPS:

How does the UnitStep function works?

Posted 10 years ago

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 10 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
Attachments
Remove
or Discard

Group Abstract Group Abstract