Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Could you help friends?
Guess you should learn the difference between a range (what you defined i .deg to be) and a vector (what you actually expected i.deg to be).
Ranges should be used in three cases only:
1) to index the element of a vector or matrix
2) define the plot range in a 2D-plot
3) in a for-loop when you use programming