0
我想在matlab中創建一個二進制數,並且難以連接數字。MATLAB:連接數字值爲字符串
這裏是我試過到目前爲止:
testarray = zeros(10,10)
testarray = num2str(testarray) % Convert all values to type string
testarray(1,1) = num2str(1); % Fill with abitrary value
testarray(1,1) = strcat(testarray(1,1), num2str(0)); % Trying to make '10' here but instead I get this error: "Assignment has more non-singleton rhs dimensions than non-singleton subscripts"
任何幫助,將不勝感激。
謝謝,我只是用細胞方法和工作。 – EMChamp