Animated Laser Bouncing in a 2D Box

A simple code for an animated line using MATLAB's animatedline
44 téléchargements
Mise à jour 2 mars 2018

Afficher la licence

% 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.

Citation pour cette source

Karl Ezra Pilario (2024). Animated Laser Bouncing in a 2D Box (https://www.mathworks.com/matlabcentral/fileexchange/66281-animated-laser-bouncing-in-a-2d-box), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2014b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Animation dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0