[問題] 矩陣切變?已回收
我有一個 n*m 的稀疏矩陣
A =
1 2 3
4 5 6
7 8 9
希望變成一個 n * m+n-1 的稀疏矩陣
B =
1 2 3
4 5 6
7 8 9
其中缺項補 0
請問除了 spdiags 有別的方法嗎?
--
blog:http://etrex.blogspot.com/
site:http://web.ntust.edu.tw/~B9409041/
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.118.9.202
MATLAB 近期熱門文章
PTT數位生活區 即時熱門文章