Question: there's no example. please use matlab Create a script called piecepyramid.m that computes a function y(x) which is zero for X1. The script assumes that

there's no example. please use matlab
Create a script called piecepyramid.m that computes a function y(x) which is zero for X1. The script assumes that variable x is defined and assigns the value of the function to variable y. To test it assign values to x in the various intervals and see if y has the correct value after executing the script. For inspiration have a look in the example we did in class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
