How to Find the sum S of vector L’s elements?

    How to Find the sum S of vector L’s elements?

     

    Team Leader Asked on December 6, 2017 in MATLAB.
    Add Comment
    1 Answer(s)

      L =
      1 3 5
      >> S = sum(L)
      S =
      9

      Team Leader Answered on December 6, 2017.
      Add Comment

      Your Answer

      By posting your answer, you agree to the privacy policy and terms of service.