X-Y rotation

%3CLINGO-SUB%20id%3D%22lingo-sub-2058599%22%20slang%3D%22en-US%22%3EX-Y%20rotation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2058599%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20Centre%20of%20Pressure%20data%20for%20a%20standing%20horse%20in%20a%20horse%20trailer%2C%20from%20transducers%20in%20the%20floor.%20These%20data%20are%20collected%20at%201Hz%2C%20and%20the%20attached%20file%20shows%20the%20data.%20The%20data%20is%20in%20X%20(transverse)%20and%20Y%20(fore-aft)%20coordinates.%20The%20horse%20in%20this%20trial%20was%20standing%20at%20about%2045deg%20to%20the%20long%20axis%20of%20the%20trailer%2C%20and%20so%20the%20excursion%20of%20the%20centre%20of%20pressure%2C%20as%20the%20horse%20swayed%20in%20response%20to%20movements%20of%20the%20trailer%2C%20is%20an%20oval%20shape%2C%20angled%20approximately%20at%2045deg.%20I%20need%20to%20be%20able%20to%20express%20the%20movements%2C%20not%20in%20the%20trailer's%20X-Y%20directions%2C%20but%20in%20the%20transverse%20and%20fore-aft%20directions%20of%20the%20horse%20(transverse%20is%20medio-lateral%2C%20and%20fore-aft%20is%20cranio-caudal%20to%20the%20horse).%20So%2C%20I%20need%20to%20rotate%20the%20excursion%20pattern%20counter-clockwise%20by%2045deg%2C%20or%20in%20some%20other%20way%20express%20the%20motions%20in%20the%20rotated%20X-Y%20dimensions.%20Any%20ideas%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2058599%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

I have Centre of Pressure data for a standing horse in a horse trailer, from transducers in the floor. These data are collected at 1Hz, and the attached file shows the data. The data is in X (transverse) and Y (fore-aft) coordinates. The horse in this trial was standing at about 45deg to the long axis of the trailer, and so the excursion of the centre of pressure, as the horse swayed in response to movements of the trailer, is an oval shape, angled approximately at 45deg. I need to be able to express the movements, not in the trailer's X-Y directions, but in the transverse and fore-aft directions of the horse (transverse is medio-lateral, and fore-aft is cranio-caudal to the horse). So, I need to rotate the excursion pattern counter-clockwise by 45deg, or in some other way express the motions in the rotated X-Y dimensions. Any ideas?

0 Replies