anyone the method of extented white metzner?

1 visualizzazione (ultimi 30 giorni)
Pavlina
Pavlina il 8 Feb 2023
Risposto: Raghav il 6 Apr 2023
i use the method of extented white metzner and i have 4 non linear equations. i put in a function but dont work.
anyone can help me please?
  1 Commento
Steven Lord
Steven Lord il 8 Feb 2023
What does "dont[sic] work" mean in this context?
  • Do you receive warning and/or error messages? If so the full and exact text of those messages (all the text displayed in orange and/or red in the Command Window) may be useful in determining what's going on and how to avoid the warning and/or error.
  • Does it do something different than what you expected? If so, what did it do and what did you expect it to do?
  • Did MATLAB crash? If so please send the crash log file (with a description of what you were running or doing in MATLAB when the crash occured) to Technical Support so we can investigate.

Accedi per commentare.

Risposte (1)

Raghav
Raghav il 6 Apr 2023
Hi,
Based on the information provided it's possible that there could be several reasons why your function is not working properly in MATLAB. Here are a few potential issues to consider:
  1. Check your syntax: Make sure that your function is written with the correct MATLAB syntax.
  2. Define all necessary variables: Make sure that you have defined all the necessary variables in your function. If any variables are missing, your function may not work as expected.
  3. Check your function inputs and outputs: Make sure that your function has the correct input and output arguments. The input arguments should be the variables that you want to solve for, and the output argument should be the function value.
  4. Check for errors: Use the MATLAB debugger to check for any errors in your function. You can set breakpoints in your code and step through it to see where the error occurs.
  5. Consider using a solver: If you're still having trouble getting your function to work, consider using a solver in MATLAB such as fminsearch or fsolve to help you solve your system of equations.
It's difficult to provide more specific advice without seeing your code, but hopefully these suggestions will help you troubleshoot your function and get it working correctly.
Thanks,
Raghav Bansal

Categorie

Scopri di più su Function Creation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by