solve symbolic equations with unknown numbers of variables

조회 수: 2 (최근 30일)
frank
frank 2012년 5월 21일
Hi; I have a loop which the variables and equations are calculated in this loop and the symbolic values and numbers of them are different in each loop. Also I should solve these equations together and get some other variables which I don't know the numbers of them because the numbers are calculated in the loop. how can I use the solve command? For example if I have: z=[a+b;a-b] s=[a;b] and I don't know the size of z and s matrices, what should I do? the below command doesn't work solve(z,'s')
  댓글 수: 8
Walter Roberson
Walter Roberson 2012년 5월 22일
Try num2cell() instead of mat2cell()
frank
frank 2012년 5월 22일
Thank you so much for your help

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by