python code
for i in range(int(Lx)):
a,b,c,d=fsolve(equations,(1,1,1,1), new_Lx)
I want to translate python code to matlab code

댓글 수: 1

Walter Roberson
Walter Roberson 2021년 11월 21일
That makes it look as-if the same equations are being solved multiple times ?
How is equations specified in the code?

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

 채택된 답변

Walter Roberson
Walter Roberson 2021년 11월 21일

0 개 추천

for i = 1 : Lx
X = fsolve(@(x)equations(x,new_Lx), [1,1,1,1]);
a = X(1); b = X(2); c = X(3); d = X(4);
end

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

태그

질문:

2021년 11월 21일

댓글:

2021년 11월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by