So i'm trying to solve this differential equation with dsolve but i'm getting stuck before I can even give my equation. Does anyone know what these errors mean?

2 comentarios

KSSV
KSSV el 11 de Mzo. de 2022
Show us the full code. Error is clear, you need to define the variables using syms.
Yanni Van Der Voort
Yanni Van Der Voort el 11 de Mzo. de 2022
Editada: Yanni Van Der Voort el 11 de Mzo. de 2022
All the variables were input as syms and A was input as: syms A(t)

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 11 de Mzo. de 2022

0 votos

I predict that A0 or B0 are symbolic, so kaccent(A0+B0) is an attempt to index an array using a symbolic variable.

3 comentarios

Yanni Van Der Voort
Yanni Van Der Voort el 11 de Mzo. de 2022
yes both A0 and B0 are in fact symbolic.
Is there any way to prevent this error?
Kind regards
Yanni
Torsten
Torsten el 11 de Mzo. de 2022
And what did you intent
kaccent(A0+B0)
to mean ?
Should it mean
kaccent*(A0+B0)
??
Yanni Van Der Voort
Yanni Van Der Voort el 11 de Mzo. de 2022
Ah I see I did indeed mean kaccent*(A0+B0)
Thank you

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by