How to solve this error in Matlab

t_dd=12*d(2,1)+2*d(2,1)^2+2*d(2,1)*d(2,1)*s+y(2,1)+4*d(1,1)*d(2,1)*s+y(1,1)^2*exp(d(2,1)*s+y(2,1)^2+2*d(1,1)*s+y(1,1)^2+2*d(2,1)^2+4*d(1,1)^2)*exp(d(2,1)*s+y(2,1)^2)+(2*d(1,1)*s+y(1,1)^2);
I am getting error message regarding this equation.
Can anyone help me with the correctness of this equation and syntax

1 comentario

VBBV
VBBV el 30 de Abr. de 2023
Editada: VBBV el 30 de Abr. de 2023
Try by changing ALL y(2,1) & d(2,1) in the equation to y(1,2) & d(1,2). May be you have preallocated dimensions for the matrices d , y in wrong way.
But without knowing what error you get its difficult to say anything further.

La pregunta está cerrada.

Etiquetas

Preguntada:

el 30 de Abr. de 2023

Cerrada:

el 1 de Mayo de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by