How to use chebop function?

6 次查看(过去 30 天)
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?

采纳的回答

Bjorn Gustavsson
Bjorn Gustavsson 2021-4-14
编辑:Bjorn Gustavsson 2021-4-14
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
addpath(chebfunroot)
If it is not installed install the toolbox first...
HTH
  2 个评论
Mohamed Hajjaj
Mohamed Hajjaj 2021-4-15
I have installed chebfun and it works; thank you very much for your answer.
Bjorn Gustavsson
Bjorn Gustavsson 2021-4-16
My pleasure!
Chebfun is a brilliant toolbox, have fun using it.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by