필터 지우기
필터 지우기

Info

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

Array for Symbolic Expressions

조회 수: 1 (최근 30일)
Emma Sellers
Emma Sellers 2019년 10월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
Can I create an array to store symbolic expressions??
I want to do something like:
Equation1 = vpa(Equation);
disp(Equation1)
Variable = symvar(Equation1,1);
disp(Variable)
TestVar = isequaln(Variable,Nodes(1,2));
disp(TestVar)
answer = inputdlg({'Enter Number of Nodes in Circuit (Max value: 10)'})
NodeNum = str2double(answer(1,1));
Array1 = zeros(1,NodeNum)
disp(Array1)
i = 0;
if TestVar == 1
i = i + 1 ;
Array1(1,2) = Equation1
disp(Array1)
end

답변 (0개)

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

Community Treasure Hunt

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

Start Hunting!

Translated by