![実施結果]WIDTH:471
lang
1% Data setting
2a = [1, 4, 2, 6, 8, 2, 3];
3b = [10, 2, 5, 8, 1, 2, 7, 12];
4t1 = 0:6;
5t2 = 0:7;
6
7% Figure preparation
8f = figure;
9sp1 = subplot(2,2,1);
10sp2 = subplot(2,2,2);
11sp3 = subplot(2,1,2);
12
13% Data plot
14plot(sp1, t1, a);
15plot(sp2, t2, b);
16
17% Combine data
18x = [a, b];
19y_len = length(t1)+length(t2);
20y = 0:y_len-1;
21plot(sp3, y, x);
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。