Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- row = [1,3];
- col = [1,3];
- val = [22,33];
- B = sparse(row,col,val,3,3)
- 22 0 0
- 0 0 0
- 0 0 33
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement