Create a vector of five random integers, each in the inclusive range from -10 to 10. Perform each of the following:
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:2| Question number:35.2
All Answers
total answers (1)
Answers:
1/ >> vec-3
2/ >> sum(vec > 0)
3/ >> vec = randi([-10, 10], 1,5)
need an explanation for this answer? contact us directly to get an explanation for this answer