Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Smooth 3-d camera angle pan required

2 vues (au cours des 30 derniers jours)
Eric LePage
Eric LePage le 19 Sep 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
%% smooth3dpan
% This m-file generates a line in 3d representing plot of azimuth and elevation versus time. I want to generate a video of a 3d image by smoothly following
% these coordinates. I'd appreciate a suggestion. Thanks
figure
coords = [8 18
13 26
17 26
27 25
31 30
55 31
82 32
95 42
118 68
81 36
47 35
14 38
6 28
-18 16
-62 6
-3 90
2 43
8 18
];
azm = coords(:,1);
elv = coords(:,2);
tim = 1:length(azm);
plot3(azm,elv,tim,'-ro','linewidth',2)
set(gca,'fontsize',15)
xlabel('azimuth')
ylabel('elevation')
zlabel('time')
grid on
rotate3d on
view(-142,5)

Réponses (0)

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by