خرید بک لینک

Vote count: 0

So I am trying to understand what length is all about. Say we have vector A = [1,2,3,4,5,6,7,8] and when we code up length(A) it spits out 8 for the # of elements.
How does the length command work. Ive been thinking its a for loop like

A = [could be any size];
for i = A   % takes each element of a
     i = i+1;  adds 1 for each new element thus counting the elements
end

Please help my understanding

asked 3 mins ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 20 ارديبهشت 1395 ساعت: 5:46

صفحه بندی