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.
助けてください。x=[2,4] y=[5,6] z=[2,1] 私はそれを言いたい値を持つ3つのベクトルを持っています[u,v,c]=[x,y,z] . たとえば、次のように言えます。a=[x,y,z] しかし、これは私たちの割り当てには許可されていません。私は何度も試しましたが、Matlab は (引数が多すぎます) と言っていました。私を助けてください。
x=[2,4] y=[5,6] z=[2,1]
[u,v,c]=[x,y,z]
a=[x,y,z]
deal入力リストと出力リストを一致させるを使用します。
deal
>> [u,v,c] = deal(x,y,z) u = 2 4 v = 5 6 c = 2 1