I have a problem when using a defined vector in a function. As you can see below, the variable (i), goes from 1 to 3 with increments of 1.
When I use this variable in the function Dl(i) and Di(i) it returns one extra value in the answer, (0). (See where the arrow is pointing in the picture below)
This becomes a problem when I later on is going to use i.e. Di(i) in the equation shown below:
What I want to do is to remove this "extra" 0 for all functions of (i)
Anyone that can help me out?
Solved! Go to Solution.