I want to make a simulation of the hands of a clock
3 次查看(过去 30 天)
显示 更早的评论
I would like to make 3 diferent lines (hands of the clock: minutes, seconds and hours) that rotates in clockwise, but I'm having troubles, the coordinates of my center are moving and I can't add the 3 vectors together,
1 个评论
Adam Danz
2022-6-30
I suggest using polar axes.
Here's an example from the 2021 Mini Hack competition however the code is very sloppy due to the character limitation imposed by the competition so you should definitely clean it up. Also, use polarplot rather than plot.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Clocks and Timers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!