Animated Peaks and Spheres

A demo for using MATLAB's spatial transforms


Updated Mon, 06 Aug 2007 08:34:04 +0000

View License

This demo will show how to use some of the spatial transforms that is available. The peaks function is used as a basic object - but others can be used as well - such as the Matlab membrane. The peaks surface is rotating, with 2 spheres orbiting it as satellites. A third sphere is added to the peaks surface, and is continuously changing its size using the scale transform. A local light source is placed at the center of the peaks surface, leading to some nice lighting effects.

Cite As

Steffen B. Petersen (2023). Animated Peaks and Spheres (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes