ibnuz
Mechanical
- Sep 1, 2003
- 3
i need someone's help n i have a question
How to plot two or more functions but they are cointinous.
the functions maybe like:
y1=2*x for 0<x<2
y2=4 for 2<x<4
y3=2 for x>4
how to plot them in a cartesian coordinate, together.
following illustration is what i want to plot!!
_____
/
/ _______
/
/
how i can do that with standar ploting matlab command...?
(x and y are symbolic expression)
please help me! thank's a lot.
How to plot two or more functions but they are cointinous.
the functions maybe like:
y1=2*x for 0<x<2
y2=4 for 2<x<4
y3=2 for x>4
how to plot them in a cartesian coordinate, together.
following illustration is what i want to plot!!
_____
/
/ _______
/
/
how i can do that with standar ploting matlab command...?
(x and y are symbolic expression)
please help me! thank's a lot.