# MATLAB question please help! Piecewise functions are sometimes use…

##### Home/Education/Expert Q&A/MATLAB question please help! Piecewise functions are sometimes use…

**Question:**

MATLAB question please help!

*Piecewise functions* are sometimes useful when the relationship between a dependent and an independent variable cannot be adequately represented by a single equation. For example, the velocity of a rocket might be described by

Develop an M-file function to compute v as a function of *t*. Then, use this function to generate a plot of v versus *t* for *t* = ?5 to 50

**Click the button below to view answer!**

If you happen to run into some problem while following the steps, please make sure to let us know in the comment section below, and we’ll do our best to solve it. Apart from that, you can contact us on Facebook and Twitter, however we can’t guarantee a rapid reaction time over those platform

## 0 Comments