如题,我刚接触matlab,想知道怎么在matlab中编出正则图(每个节点的度相同)
这个只能通过结点和连线了比方说
t = linspace(0, 2*pi, 7); x = cos(t); y = sin(t); plot(x, y, 'o'); hold on plot(x(1:2),y(1:2), 'b-') plot(x(3:4),y(3:4), 'b-') plot(x(5:6),y(5:6), 'b-') axis equal