How to obtain the result of an operation in a vector

1 view (last 30 days)
Dionisio Mendoza
Dionisio Mendoza on 7 Feb 2019
Edited: madhan ravi on 9 Feb 2019
What I must do is place the result of this summation inside a vector so that I do not get disordered but I can not find the way to do it. I have something like this
for i = -100:100
x = exp(i)
i
end
  2 Comments
Dionisio Mendoza
Dionisio Mendoza on 7 Feb 2019
youre rigth i was wrong of excersice, but in that example were i put the vectorized code? sorry im very rookie

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!