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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

11-Garnet

Example:

1 ACCEPTED SOLUTION

Accepted Solutions
21-Topaz I

Hi,

Like this:-

Cheers

Terry

11 REPLIES 11
21-Topaz I

Hi,

Like this:-

Cheers

Terry

Hi, this method is not working for -ve values and floating values in 'D', Pse suggest

Eg: D=(0 1 -2 0)

Eg: D=(0 1.5 -2 0)

21-Topaz I

Hi,

Can you please provide an original "S" matrix and a Resulting matrix "Res" when you use a negative whole number in "D"?  I imagine this means a rotation of "S" values downwards in that column?  Can do this.

Can you please provide an original "S" matrix and a Resulting matrix "Res" when you use a floating value in "D"?  Not sure what this means?

Cheers

Terry

terryhendicott - 'I imagine this means a rotation of "S" values downwards in that column?' - Yes

terryhendicott -'when you use a floating value in "D"?  Not sure what this means?' - ok just for now, we will avoid/omit this requirement, let only focus on '-ve' values

terryhendicott -'Can you please provide an original "S" matrix and a Resulting matrix "Res"', - currently I can't, i'll work on the same shortly.

Pse check below attached,

11-Garnet

Tried this method but its not working, PFA.

21-Topaz I

Hi,

Hoping this is what you are seeking:-

Cheers

Terry

Thanks lot for response, i'll check the same.

23-Emerald III

Note that with a matrix of 4 rows, shifting 2 or -2 is the same.

Shifting a matrix over a non-integer amount of rows is not obvious. How would you define it?

Success!
Luc

23-Emerald III

OK, here's an implementation that takes an approach also for non-integer values of the 'number of elements to shift':

Works also in Express.

(Prime 4 file attached)

Success!

Luc

24-Ruby V