推 alamabarry:寫個迴圈就好了阿~~ 07/02 14:28
→ mp19990920:a大,你別亂教啦,哪有寫matlab動不動就迴圈的! 07/02 20:13
→ mp19990920:mat = base2dec(0:3^3-1) - '0'; 07/02 20:16
→ mp19990920:mat(mat==2) = 5; 07/02 20:17
→ mp19990920:mat(mat==1) = 3; 07/02 20:18
→ mp19990920:mat(mat==0) = 1; 07/02 20:18