Vector Newton Raphson Method coding help
2 views (last 30 days)
I have a code for the Vector Newton Raphson method (which solves 2 functions that are a function of both x and y) and I am getting the error 'Subscripted assignment dimension mismatch' at line 17 and 18. If anyone has any clue how to fix this problem to where my code runs smoothly I would really appreciate it!
Jacobian=[f1t f1b;f2t f2b];
Nitin Khola on 3 Nov 2015
The error message that you are getting has been discussed here: http://www.mathworks.com/matlabcentral/answers/93586-why-do-i-get-the-subscripted-assignment-dimension-mismatch-error-message
For the community to help you better, please make sure you provide code that reproduces the issue. As Jan Simon pointed out, define xNew, vOld etc.