I have a vector field in excel file and I use xlsread
to read them and quiver3(X,Y,a,U,V,b)
(X and Y their coordinates in plane and U and V their velocity in 2 axises) to plot them.
Now I want to get the streamlines over my field and I use streamline(X,Y,U,V,sx(0:10),sy(0:10))
for it. but "it doesn't work"
And this is the error:
Subscript indices must either be real positive integers or logicals.
p.s. most probably, the error is because of starting points in x and y, I guess...