Question: use matlab 3. Write a function called pickone, which will receive one input argument x, which is a vector, and will return one random element
3. Write a function called pickone, which will receive one input argument x, which is a vector, and will return one random element from the vector. For example, >> pickone(4:9) ans = >> disp(pickone(-3:0)) -1 >> help pickone pickone(x) returns a random element from vector x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
