How to use chebop function?

조회 수: 12 (최근 30일)
Mohamed Hajjaj
Mohamed Hajjaj 2021년 4월 14일
댓글: Bjorn Gustavsson 2021년 4월 16일
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