Statistics
3 Questions
0 Answers
RANK
285,342
of 301,866
REPUTATION
0
CONTRIBUTIONS
3 Questions
0 Answers
ANSWER ACCEPTANCE
33.33%
VOTES RECEIVED
0
RANK
of 21,445
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 177,015
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
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 : a 4x4 matrix with the main diagonal 20
[20 0 0 0; 0 20 0 0; 0 0 20 0; 0 0 0 20]
12 years ago | 1 answer | 0
1
answerQuestion
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
12 years ago | 1 answer | 0
1
answerQuestion
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
12 years ago | 1 answer | 0
