Programming a function for use in another script
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I've programmed a script to run multivariate Newton's method on a non-linear function. It's usage is:
function [X]=mynewtonA(fname,x0,maxIts,tol)
fname represents the function I want to program.
I'm trying to program the following function for use in this existing function:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148116/image.jpeg)
I'm not sure how to do this. So basically, what should be code be to produce this function in a new file that I can then call upon in my existing script?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Systems of Nonlinear Equations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!