matlab
ersion la pg. 1 of 3 NAME: SEAT #: ACCESS ID: BE 1500-Exam 1 (170...
ersion la pg. 1 of 3 NAME: SEAT #: ACCESS ID: BE 1500-Exam 1 (170 pts in class + 30 pts online) 1. 30 points - Userandperm() to create a row vector of length 10 with a permutation of integers from 1 to 10. Use logical indexing to find the indices of the vector elements that have a value that is more than 2 but less than 7. For full credit, your solution should have only two lines of code: one for creating the vector and one for the logical indexing. Display both the original vector and the vector of indices selected using logical indexing. 2. 40 points - The Taylor series of sin(x) at x = 0 is