clear
clc
vpa(10)
when I excute this code, I obtain an error as
Unrecognized function or variable 'vpa'.

1 comentario

Mohammed Sobhy
Mohammed Sobhy el 26 de Dic. de 2021
when I type
which vpa
we obtain
'vpa' not found.

Iniciar sesión para comentar.

 Respuesta aceptada

John D'Errico
John D'Errico el 26 de Dic. de 2021

0 votos

vpa is not part of MATLAB, UNLESS you have the symbolic toolbox. So do you have a license for that? At the command line, type
ver
It will tell you if you have a valid license for that toolbox. If you THINK you do have that toolbox, then you may possibly just not have installed it properly. But first you need to see what ver tells you.

3 comentarios

Mohammed Sobhy
Mohammed Sobhy el 26 de Dic. de 2021
Than you for your response
symbolic toolbox is not found
John D'Errico
John D'Errico el 26 de Dic. de 2021
So that tells you what you need to do. If you need the symbolic toolbox, then you need to obtain a copy. If you bought MATLAB yourself, then you will need to add the symbolic toolbox. At least, if you need it. I find it quitte useful myself.
Mohammed Sobhy
Mohammed Sobhy el 26 de Dic. de 2021
I have an original version. So, I will reinstall it
Thank you very much.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

el 26 de Dic. de 2021

Comentada:

el 26 de Dic. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by