代码:

syms x; a = 1; L = 2; y = acos(2pix/L); R = 1; theta = linspace(0, 2pi, 100); xc = Rcos(theta); yc = Rsin(theta);

for i = 1:length(xc) xci = xc(i) + x; yci = yc(i) + y; plot(xci, yci, 'r'); hold on; end

axis equal; xlabel('x'); ylabel('y'); title('Convex Cam Profile');


原文地址: http://www.cveoy.top/t/topic/bmbD 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录