Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Matlab にはpadarrayという関数があります。"post"関数の意味がわかりませんでした。例で説明できますか?
"post"
だから私は明確にしようとします:
A = magic(2); A = 1 3 4 2 B = padarray(A,[0 1],'circular','post') B = 1 3 1 4 2 4
post各次元に沿って最後の配列要素の後にのみパディングします。この特定のケースでは、 の 2 番目の入力として、次元に沿ってのみパディング2し[0 1]ますpadarray。
post
2
[0 1]
padarray
PS: MATLAB のユーザー マニュアルには通常、組み込み関数に関する例が多数掲載されています。