Problem 56245. Tracer un carré de côté a et de centre O
Définir une fonction carre qui prend en entrée un salaire a et un vecteur O de deux élements représentant les coordonnées cartésiennes d'un point et trace le carré de centre O et de côté a. Le tracé s'effectue dans le sens direct (inverse des aiguilles d'une montre en commençant par le point en bas à gauche
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers15
Suggested Problems
-
Compute a dot product of two vectors x and y
1002 Solvers
-
Sum the numbers on the main diagonal
590 Solvers
-
370 Solvers
-
Sum the squares of numbers from 1 to n
249 Solvers
-
Find the minimum of the column-maximums of a matrix
495 Solvers
More from this Author7
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!