
From:  Dmitri A. Sergatskov 
Subject:  Re: Script error 
Date:  Sun, 18 Mar 2018 10:17:31 0500 
n=(L2*p1)/p1+1;
r(1)=r2p1*tan(alpha);
for i=1:n
r(i+1) = r(i)  p1*tan(alpha);
f(i) = 2*pi*r(i)/p;
endWhen I run it I receive this message:error: r(347): subscripts must be either integers 1 to (2^31)1 or logicals
error: called from
pattern at line 17 column 10But I however obtain series number.How can I solve this problem? Where I'm wrong?
Best regards_______________Stefano MilaniStructural Design SpecialistEner Consulting S.r.l.
[Prev in Thread]  Current Thread  [Next in Thread] 