Question: use matlab 06 (3p) Generate a vector, V1 that has equally spaced 30 elements from -n to 2n. First, convert all eleents to their closest
06 (3p) Generate a vector, V1 that has equally spaced 30 elements from -n to 2n. First, convert all eleents to their closest integer. Then, create another vector V2 that consists of elements of V1 that are positive and not divisible by 3. (Don't use loop, use logical indexing.) Write answer here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
