Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Smooth 3-d camera angle pan required

1 visualizzazione (ultimi 30 giorni)
Eric LePage
Eric LePage il 19 Set 2019
Chiuso: MATLAB Answer Bot il 20 Ago 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)

Risposte (0)

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by