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

use matlab use matlab 06 (3p) Generate a vector, V1 that has equally spaced

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!