Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

can any one of you tell me how to implement the equations ..if i have taken [a b]=[1 2]; how can i get a=1,and b=2? where [a b] is a one by 2 matrix and [1 2] is also a matrix

조회 수: 1 (최근 30일)
ashok
ashok 2014년 2월 11일
마감: MATLAB Answer Bot 2021년 8월 20일
can any one of you tell me how to implement the equations ..if i have taken [a b]=[1 2]; how could i get a=1,and b=2? where [a b] is a one by 2 matrix and [1 2] is also a matrix

답변 (1개)

Matt J
Matt J 2014년 2월 11일
편집: Matt J 2014년 2월 11일
q=num2cell([1,2]);
[a,b]=deal(q{:});

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by