help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error: can't perform indexing operations for <unknown type> type


From: lokesh rajendran
Subject: error: can't perform indexing operations for <unknown type> type
Date: Thu, 14 Jun 2007 03:10:18 -0400

hai ,
i wrote the following script using "kwrite"editor.and stored it in the filename"rectified_sine.m"
the document is as follows:
%octave script for plotting a sine wave<rectified>
theta=linspace(0,2*pi,1000);%linear or equal spacing between the points from 0 to 2*pi
y=abs(sin(theta));%to print alll negative values as positive
plot (theta,y,':',theta,sin(theta))%multiple plot

and i got the following error message:
octave:5> rectified_sine.m
error: can't perform indexing operations for <unknown type> type
.
here although i got the required plot ,why is the error coming?
thanks,
lokeshrajendran

reply via email to

[Prev in Thread] Current Thread [Next in Thread]