How to use chebop function?

2 vues (au cours des 30 derniers jours)
Mohamed Hajjaj
Mohamed Hajjaj le 14 Avr 2021
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?

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by