Morphing 2D cartesian coordinates, from one shape to another
2 次查看(过去 30 天)
显示 更早的评论
Hi All,
I have a slight problem for which I'm sure there must be a Matlab function but I can't work out what it is. I have a load of 2d cartesian coordinates which all fall within a rectangular box (A), I need to morph these coordinates to fill a different box (B) which has the same dimensions but is rotated to a different angle. I need to morph the coordinates, not rotate them (I can do that already).
I have been looking at various functions but they all seem to be related to images, not coordinate data, although many of them take a series of coordinates on which to base their morphing, which is why I think Matlab must be able to morph the coordinates themselves...
Any help would be greatly appreciated,
Rod.
2 个评论
Ran
2014-10-22
The most straightforward solution would be to rotate box A to be the same orientation as box B, and then translate the rotated box to match the position of box B, no?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 3-D Scene Control 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!