Community Profile

photo

Hearthy Tampol


Last seen: nästan 3 år ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


How to replace all zeros in a matrix with a vector from 1 to 9 in the order of ascending indices?
I have a matrix x x = 0 4 9 9 -4 0 4 0 -3 -3 -1 0 0 0 9 9 ...

nästan 3 år ago | 1 answer | 0

1

answer

Question


How to reconstruct a matrix?
i have x = [8, 9, -3, 9, 5, -4, -1, 3, 10, 10] y = [-6; 4; 4; -2; 2] z = diag(y) how can i reconstruct matrix z into this...

nästan 3 år ago | 2 answers | 0

2

answers