Any rotation (3D, 2D)

Function to rotate a -array of- vector(s) around any given -shifted- axis, in 2D or 3D space.
703 Downloads
Updated 15 Jul 2024
Please first check the examples tab (.mlx, doc) here on the right for a complete description.
Once downloaded, typewrite 'help rotate_3D' or 'doc rotate_3D' in Matlab console for support.
To benefit from the file documentation attached, be sure to download the file, not to just copy and paste it.
Please don't forget to rate if this code helped you. Thanks ! ;-)

Cite As

Nicolas Douillet (2024). Any rotation (3D, 2D) (https://github.com/NicolasDouillet/rotate_3D/releases/tag/v3.3), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on 3-D Scene Control in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
3.3

See release notes for this release on GitHub: https://github.com/NicolasDouillet/rotate_3D/releases/tag/v3.3

3.2

See release notes for this release on GitHub: https://github.com/NicolasDouillet/rotate_3D/releases/tag/v3.2

3.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/rotate_3D/releases/tag/v3.1

3.0

See release notes for this release on GitHub: https://github.com/NicolasDouillet/rotate_3D/releases/tag/v3.0

2.6

See release notes for this release on GitHub: https://github.com/NicolasDouillet/rotate_3D/releases/tag/v2.6

2.5

Improved help, doc, description.

2.4

+ rotation matrix in outputs, improved input parsing, updated description, help, doc

2.3

Fix bug in Y rotation matrix

2.2

Completed description

2.1

+ angle unit (radian / degree) option
+ vectors array rotation example

2.0

Improved : 2D & 3D versions, inputs parsing, exceptions, add examples, help, doc, tags, typo.

1.7

Improved doc

1.6.9

Test 1.6.9

1.6.8

Test 1.6.8

1.6.7

One more test

1.6.6

Another test

1.6.5

No zip test

1.6.4

Patience...

1.6.3

Once more

1.6.2

Again

1.6.1

Last try [...]

1.6

Changed html file name

1.5.9

New try

1.5.8

Try again to make appear main file in functions section

1.5.7

Add main missing file

1.5.6

Again...

1.5.5

Add missing file again.

1.5.4

Add missing file (...)

1.5.3

Add missing file (ter!)

1.5.2

Add missing file (bis)

1.5.1

Add missing file

1.5

+ html documentation
Rotation axis now optional in case mode corresponds with one of the three basis axis

1.4.0.0

- Updated overview

1.3.0.0

- Switched last two input arguments

1.2.0.0

+ redo sections

1.1.0.0

- fixed null vector exception
- updated to Matlab 9.3 (R2017b) version
- improved documentation
- added illustration

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.