Q:

How do you do summation in MATLAB?

A:

Quick Answer

MATLAB is a high level programming language used in numerical computing. It is widely used in academia, engineering and science. MATLAB is used for signal processing, communications, image and video processing, control systems and testing and measurement. MATLAB also has several Easter eggs such as pictures, jokes and philosophical musings when the user types in "why."

Continue Reading

Full Answer

  1. Determine if the summation is definite or indefinite

    If the summation is indefinite, the sigma has an infinity symbol associated with it. This indicates that the summation has an infinite number of summands. If it is a definite summation, the sigma indicates the number of increments required.

  2. Enter the indefinite summation in MATLAB

    If the summation is indefinite, then the formula is entered like this: sum(f, i). The "f " is the summation function and "i" is the index of summation. The "i" is left as it is in the case of indefinite summation.

  3. Enter the definite summation in MATLAB

    If the summation is definite, the formula will be entered this way: sum(f, i = a..b). The "f" is the summation function and the "i" is the index of summation. The "a" is the lower bound of summation and the "b" is the upper bound of summation.

Learn more about Computer Programming

Related Questions

Explore