Please post matlab code
2. Use a for loop to generate the vector representing the piecewise function )-は, where the for loop uses the array x =-1 : 0.1: as the argument, as given below. for x=-1:0.01:1 1 statements to 3 calculate 5 end Use a nested if/else statement to calculate each equation within the for loop. Show transcribed image text 2. Use a for loop to generate the vector representing the piecewise
OR
OR