MATLAB Answers

How to use chebop function?

7 views (last 30 days)
When I try to input
>> a = chebop(-1,1);
the result was:
Undefined function 'chebop' for input arguments of type 'double'.
I'm working on windows 32 bit, and no result when searching for the function "chebop" in help.
I do not understand the problem?

Accepted Answer

Bjorn Gustavsson
Bjorn Gustavsson on 14 Apr 2021
Edited: Bjorn Gustavsson on 14 Apr 2021
Have you installed the chebfun package? Have you added the chebfun install directory to the matlab-path?
If you have it installed but not on the matlab-path try something like this:
chebfunroot = '/home/bjorn/matlab/Local/Numerics/chebfun-master'; % for my case
If it is not installed install the toolbox first...
Bjorn Gustavsson
Bjorn Gustavsson on 16 Apr 2021
My pleasure!
Chebfun is a brilliant toolbox, have fun using it.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by