Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to write this problem

2 vues (au cours des 30 derniers jours)
alexaa1989
alexaa1989 le 6 Jan 2015
Clôturé : dpb le 6 Jan 2015
hello everyone and thanks for previous answers. I have the code below
j=[1 2 3]; p=[1 2 1;2 3 1;3 1 2;1 1 2]; now I need to code this:
c(1,3)=p(1,3);
c(2,3)=p(1,3)+p(2,3);
c(3,3)=p(1,3)+p(2,3)+p(3,3);
c(4,3)=p(1,3)+p(2,3)+p(3,3)+p(4,3);
any help would be great
thanks in advance

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by