看板 MATLAB 關於我們 聯絡資訊
大家好 小弟有個問題想請教各位 A矩陣為100x100x3 B矩陣為40x40x3 想將B矩陣值放入A矩陣(30:70,30:70,:)中 一直顯示 Subscripted assignment dimension mismatch. 希望高手可以幫個忙 感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 218.161.96.192 ※ 文章網址: https://www.ptt.cc/bbs/MATLAB/M.1441528663.A.8BD.html ※ 編輯: Portentera (218.161.96.192), 09/06/2015 16:42:54
celestialgod: 因為A(30:70,30:70,:)是41 x 41 x 3 09/06 16:43
celestialgod: 當然大小不一樣大阿 09/06 16:43
Portentera: 感謝celestialgod大大 已解決 耍笨沒注意到 09/06 16:44
※ 編輯: Portentera (218.161.96.192), 09/06/2015 16:45:28
celestialgod: :) 09/06 16:49