For Loop No Idea!
조회 수: 3(최근 30일)
표시 이전 댓글
Adam Parry 2012년 7월 30일
So I'm not used to how you write programming code in Matlab, or really any language to be honest, so could someone tell me how to make this for loop work
for start = 1:VgStep:endPoint-VgStep
for step = VgStep:VgStep:endPoint
x1 = x(start:step);
y1 = y(start:step);
I think you can probably get the general idea of what I would like it to do..
댓글 수: 6
댓글 수: 2
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!