How to modify vector?
Show older comments
I wanted to modify this vector y= 3*x -1 by randomly adding or subtracting 0.5 to every element in the in it. Using rand and while loop.
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!