error correction

1 次查看(过去 30 天)
mohan gopal
mohan gopal 2011-10-24
??? 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

回答(1 个)

Walter Roberson
Walter Roberson 2011-10-24
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.

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by