Filter löschen
Filter löschen

how to transform my input in n-dimensions

2 Ansichten (letzte 30 Tage)
imola
imola am 28 Okt. 2014
Bearbeitet: imola am 17 Feb. 2015
Dear All,
I need to rotate hyper-rectangle in 4-dimensions
but I got error Error using maketform>validate_matrix (line 317) The final column of A must consist of zeroes, except for a one in the last row. Error in maketform>affine (line 163) A = validate_matrix( A, 'affine' );
I want to transform the matrix v and their is no zeroes final column in v.
regards

Akzeptierte Antwort

Matt J
Matt J am 28 Okt. 2014
Bearbeitet: Matt J am 28 Okt. 2014
maketform is complaining that the final column of trans is not [0;0;0;...;1], contrary to what the documentation demands for the case when trans is (N+1)x(N+1). You should examine the calculation of trans to see why not, and fix it.
  3 Kommentare
imola
imola am 30 Okt. 2014
Bearbeitet: imola am 17 Feb. 2015
Dear Matt,
it suppose v in my code is A and its size is 16x4 so its not square even if I add [0 0 0... 1] as last column for it.
thank you very much for pay attention and reply.
regards
Matt J
Matt J am 30 Okt. 2014
it suppose v in my code is A and its size is 16x4 so its not square even if I add [0 0 0... 1] as last column for it.
That would mean that after performing the rotation, the dimension of the array has changed, which is impossible. So, you've constructed v incorrectly.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by