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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Error: the first vector argument must have more than 1 element

ptc-5734682
1-Visitor

Error: the first vector argument must have more than 1 element

I am completely lost here. any help is appreciated.

errormathcad.jpg

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:ptc-5734682)

OK, so it seems to be that typo, as I thought.

27.03.png

View solution in original post

5 REPLIES 5
Werner_E
25-Diamond I
(To:ptc-5734682)

Please don't post just pics, always attach the worksheet, please.

I guess it should be j:=0..n and not j:=0..r

file attached.

Werner_E
25-Diamond I
(To:ptc-5734682)

OK, so it seems to be that typo, as I thought.

27.03.png

i have one more error on the same file. Necessary file is attached.

Werner_E
25-Diamond I
(To:ptc-5734682)

You can use vectorization only with vectors of the same dimensions. F has 10^5 but W has 10^6 elements.

Right at the top at the definition of W change the 100000 to 10000 to make it work (better use powers of 10 which shows you the difference at a glance)

Announcements

Top Tags