how to represent the mathematical parameter in matlab?

3 visualizaciones (últimos 30 días)
Dhines
Dhines el 28 de Sept. de 2012
Here,
how to write the summation and its limits in matlab.

Respuesta aceptada

Wayne King
Wayne King el 28 de Sept. de 2012
Editada: Wayne King el 28 de Sept. de 2012
Is this a question about a symbolic computation, or a numerical one?
x = randn(100,1);
% sum of x for elements 10 to 30
sum(x(20:30))
Symbolic
syms k
% sum of k from k =1 to k= 10
symsum(k,1,10)

Más respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by