Why do I receive an error with FZERO on a vector-valued function in MATLAB?
Show older comments
I am trying to use FZERO on a vector valued function and I receive the following error:
ERROR: ??? Operands to the || and && operators must be convertible to logical scalar
values.
Error in ==> fzero at 449
while fb ~= 0 && a ~= b
Accepted Answer
More Answers (0)
Categories
Find more on Surface Style in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!