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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Foor Loop

ppal
17-Peridot

Foor Loop

Hi all.

 

Why am I seeing all the extra rows  of Zeros?

 

I just want to see 4 to 8

 

Thanks for the help.

 

 

 

 

 

 

 

 

ACCEPTED SOLUTION

Accepted Solutions

Hi,

 

Indexes into matrices start at zero

View solution in original post

9 REPLIES 9

Hi,

 

What version are you using?

You need to include the file.

 

Attached now

Attached

Werner_E
25-Diamond I
(To:ppal)


@ppal wrote:

Attached


No, still not.

Whats going on?

Do you try to attach a worksheet or a picture?

ppal
17-Peridot
(To:Werner_E)

Work sheet. When I do a picture it says 20 000 words exceeded.

Werner_E
25-Diamond I
(To:ppal)


@ppal wrote:

Work sheet. When I do a picture it says 20 000 words exceeded.


You can't simply copy and paste a picture here, you have to use the "Photos" icon to embed a picture in a post or you may add it like you did with the worksheet.

 

BTW, I would rather use

B2.png

Werner_E
25-Diamond I
(To:ppal)

We see neither zeros nor 4's or 8's!

Obviously you forgot to add a picture, or, preferably, your worksheet.

 

My crystal ball thinks that the reason for your problem is that you use a vector or matrix which was already defined before with a larger size or that for some reason an element with higher index was unintentionally assigned.

Hi,

 

Indexes into matrices start at zero


@terryhendicott wrote:

Hi,

 

Indexes into matrices start at zero


Not necessarily, as the picture below shows, but it sure would make more sense to leave the default ORIGIN=0 (or rather set it to 1, but sure not 4)

B.png

Announcements

Top Tags