Undefined function or Variable error
Mostra commenti meno recenti
Hi,
I create a function to use the Mid-point formula to calculate the integral value, but it keeps showing undefined error. I wonder where is the problem, and how I can fix it? Thanks!


Risposte (1)
Walter Roberson
il 30 Apr 2023
x = a:h:b;
However, any current version of MATLAB may have problems with you replacing the function handle f with the result of invoking the function handle. Use different variable names for the function handle and the result of evaluation.
1 Commento
Dan
il 30 Apr 2023
Categorie
Scopri di più su Data Type Identification in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!