필터 지우기
필터 지우기

Info

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

How to run a function that is run by a function?

조회 수: 1 (최근 30일)
farzad
farzad 2017년 12월 22일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi all
I have a function A that has a system of equations. A function B that calls that function A and solves the system of equations via fsolve. Now I have a third m. File from which I want to call the function B to solve the equation for several inputs. This third file creates a parameter d that should be placed in the formulas of the function A, so i made function A double input x, d. And then should be solved via function B which is fsolve. How should I do it? Since when I call function B name in the third file, it says undefined variable x, which should the input in function A and output of function B

답변 (0개)

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

Community Treasure Hunt

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

Start Hunting!

Translated by