plot_vec3.m 280 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function [] = plot_vec3(T,v,name)
    figure();

    subplot(3,1,1);
    plot(T,v(:,1));
    ylabel('x-dir');
    title(name);

    subplot(3,1,2);
    plot(T,v(:,2));
    ylabel('y-dir');

    subplot(3,1,3);
    plot(T,v(:,3));
    ylabel('z-dir');
    xlabel('Time (s)');
end