मंगलवार, 19 जुलाई 2016

cVec = [10 9.6 .......-9.6 -10]( all the numbers from 10 to -10 in increments of -0.4

cVec = [10 9.6 .......-9.6 -10]( all the numbers from 10 to -10 in increments of -0.4

Texas a&m University 314 Matlab assignment

cVec(1) = 10;
for i = 1:50;
    cVec(i+1) = cVec(i) - 0.4;
end


Please share with your friend

कोई टिप्पणी नहीं:

टिप्पणी पोस्ट करें