How to define a array for one variable having 3 columns of data

1 visualización (últimos 30 días)
sunitha
sunitha el 19 de Feb. de 2021
Comentada: Rik el 19 de Feb. de 2021
I have 3 variables in a equation. These 3 variables has 3*3 data. NO,N & J variables are there. I define the array for No the length it is taking 3
aX= length(No);
Results=cell(1,aX);
it is showing that array exceeds the bounds
  3 comentarios
sunitha
sunitha el 19 de Feb. de 2021
Editada: sunitha el 19 de Feb. de 2021
i made changes in the program but still i am getting the same error . I want to calculate value V finally .can u help me ??
Rik
Rik el 19 de Feb. de 2021
Your code is not alligned, uses clear all at the start and contains no comments whatsoever. How is anyone supposed to understand what you mean? Your variable names are not very descriptive either.
The cause of this particular error is that you try to index Se(i,j) with Se being a 1x2 double and j=1;i=2;.
There are also several mlint warnings. You would do well to resolve them.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by