photo

merhisam


Michigan State University

Last seen: 3 years ago Active since 2018

Followers: 0   Following: 0

Message

Statistics

MATLAB Answers

1 Question
0 Answers

RANK
18,684
of 300,364

REPUTATION
2

CONTRIBUTIONS
1 Question
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
1

RANK
 of 20,934

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,407

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 1

View badges

Feeds

View by

Question


How to replace the diagonal entries of a square matrix with entries from a vectore of equal length?
I have an nxn matrix M, and a vector v of length n. I want to swap the diagonal of M with the vector v, without a for loop. Is t...

7 years ago | 2 answers | 1

2

answers