The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Need urgent help with piecewise linear function
Replies: 1   Last Post: Jun 29, 1996 2:55 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Amir Moghul

Posts: 1
Registered: 12/11/04
Need urgent help with piecewise linear function
Posted: Jun 26, 1996 3:58 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi folks:

I need to input piecewise linear function in matlab. I am trying
to enter a function similar to the one shown below:

y=-40t ; 0<=t<0.4
y=6.5t-2.3 ; 0.4<=t<0.8
y=40t-32 ; 0.8<=t<1

Kindly let me know the exact syntax that I should use in matlab to input
this functtion.

Please direct your responses directly to my account instead of (or in
addition to) posting it here in this newsgroup.

Many thanks.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.