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] 我想使用(强制性)这个公式:[u,v,c]=??? 例如,我可以说: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