Matlab chokes on 'end' operator
이전 댓글 표시
I am trying to run a script and cannot go beyond the line that plots
% Plot the relative Position Error for an entire week after the epoch time
% of the latest ephemeris
TIME = VAL(10,end-1):60/86400:VAL(10,end)-60/86400;
P1=figure;plot(TIME(end-10079:end),POSERR);
the error I'm getting is
- _ *Subscript indices must either be real positive integers or logicals* _ *
all variables have been defined
댓글 수: 1
James Tursa
2014년 7월 16일
What are the dimensions of the variables involved? Have you used the debugger to pause execution at that line to verify the variable dimensions?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!