error correction

10 visualizaciones (últimos 30 días)
mohan gopal
mohan gopal el 24 de Oct. de 2011
??? Subscript indices must either be real positive integers or logicals. is the error i got , pls help me out to correct this error , i want to declare initial parameter which i have given as t1(i)=0.3 , do reply friends i m using r2010a

Respuestas (1)

Walter Roberson
Walter Roberson el 24 de Oct. de 2011
What have you initialized "i" to? By default, if you have not assigned a value to "i" yourself, it will have the value sqrt(-1). "j" has the same property.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by