Effacer les filtres
Effacer les filtres

how to represent the mathematical parameter in matlab?

2 vues (au cours des 30 derniers jours)
Dhines
Dhines le 28 Sep 2012
Here,
how to write the summation and its limits in matlab.

Réponse acceptée

Wayne King
Wayne King le 28 Sep 2012
Modifié(e) : Wayne King le 28 Sep 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)
  1 commentaire
Dhines
Dhines le 28 Sep 2012
thanks for your kindful suggestion

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by