| Contents | Index |
symprod(expr)
symprod(expr,v)
symprod(expr,a,b)
symprod(expr,v,a,b)
symprod(expr) evaluates the product of a series, where expression expr defines the terms of a series, with respect to the default symbolic variable defaultVar determined by symvar. The value of the default variable changes from 1 to defaultVar.
symprod(expr,v) evaluates the product of a series, where expression expr defines the terms of a series, with respect to the symbolic variable v. The value of the variable v changes from 1 to v.
symprod(expr,a,b) evaluates the product of a series, where expression expr defines the terms of a series, with respect to the default symbolic variable defaultVar determined by symvar. The value of the default variable changes from a to b.
symprod(expr,v,a,b) evaluates the product of a series, where expression expr defines the terms of a series, with respect to the symbolic variable v. The value of the variable v changes from a to b.
symprod does not compute indefinite products.
The definite product of a series is defined as
![]()
![]()
is called the indefinite product of xi over i, if the following identity holds for all values of i:
![]()
Evaluate the product of a series for the symbolic expressions k and k^2:
syms k symprod(k) symprod((2*k - 1)/k^2)
ans = factorial(k) ans = (1/2^(2*k)*2^(k + 1)*factorial(2*k))/(2*factorial(k)^3)
Evaluate the product of a series for these expressions specifying the limits:
syms k symprod(1 - 1/k^2, k, 2, Inf) symprod(k^2/(k^2 - 1), k, 2, Inf)
ans = 1/2 ans = 2
Evaluate the product of a series for this multivariable expression with respect to k:
syms k x symprod(exp(k*x)/x, k, 1, 10000)
ans = exp(50005000*x)/x^10000

See how symbolic computations can help you find analytical solutions to math and engineering problems.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |