Quotes around the name of the function
3 views (last 30 days)
Matt Fig on 15 Dec 2012
Edited: Matt Fig on 15 Dec 2012
Typically, you want to pass a handle to a function, not a string.
fsovle(@myfun,x0) % Notice the @ symbol --> a function handle.
The string argument gets evaluated the same way, probably for backward compatibility. The modern way is to use function handles.