cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Returning an extra zero when using a vector

Eilertsena
2-Guest

Returning an extra zero when using a vector

Hi, 

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)

Eilertsena_0-1579257740402.png

Eilertsena_0-1579269978211.png

 

This becomes a problem when I later on is going to use i.e. Di(i) in the equation shown below:

Eilertsena_1-1579257812837.png

What I want to do is to remove this "extra" 0 for all functions of (i)

Anyone that can help me out?

1 ACCEPTED SOLUTION

Accepted Solutions
-MFra-
21-Topaz II
(To:Eilertsena)

Hi,

You have to set the origin to 1, write like this: ORIGIN: = 1. By default, in Mathcad, it is set to zero, therefore you find the first element of the vector equal to zero.

View solution in original post

2 REPLIES 2
-MFra-
21-Topaz II
(To:Eilertsena)

Hi,

You have to set the origin to 1, write like this: ORIGIN: = 1. By default, in Mathcad, it is set to zero, therefore you find the first element of the vector equal to zero.

Perfect! Thanks allot! 👍

Top Tags