三次元配列を考えてみましょう
A = rand(3,4,5);
B = rand(3,4,5);
plot(A(:,1,1),B(:,1,1))
plot(A(1,:,1),B(1,:,1))
ただし、これはすべて正常に機能します
>> plot(A(1,1,:),B(1,1,:))
Error using plot
Data may not have more than 2 dimension
を使用する以外に、これを回避する簡単な方法はありreshape()
ますか?