Animated Laser Bouncing in a 2D Box

versión (1.22 KB) por Karl Ezra Pilario
A simple code for an animated line using MATLAB's animatedline

38 descargas

Actualizada 2 Mar 2018

Ver licencia

% laser(L,W,T,N) plots a laser bouncing inside a 2D
% box of length L and width W with perfect mirrors
% as walls. It starts at (0,0) with an initial angle
% of T degrees, and it ends when it bounces off the
% walls N number of times already.

Citar como

Karl Ezra Pilario (2022). Animated Laser Bouncing in a 2D Box (, MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2014b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!