photo

Pavlos Charalambides


University College London

Actif depuis 2013

Followers: 0   Following: 0

Message

Statistiques

MATLAB Answers

3 Questions
0 Réponses

RANG
234 574
of 302 177

RÉPUTATION
0

CONTRIBUTIONS
3 Questions
0 Réponses

ACCEPTATION DE VOS RÉPONSES
33.33%

VOTES REÇUS
0

RANG
 of 21 596

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 179 707

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


Hi i'm new to matlab and i'm wondering if anyone could tell me how to make the following matrix with only one command
20 0 0 0 0 20 0 0 0 0 20 0 0 0 0 20

presque 13 ans il y a | 1 réponse | 0

1

réponse

Question


Hi, can someone help me generate a square matrix with all its elements one, exept its diagonal? As the following
ans = 2 1 1 1 1 3 1 1 1 1 4 1 1 1 1 5

presque 13 ans il y a | 1 réponse | 0

1

réponse