Feeds
提问
plot graph according to matrix index
r = [cos(theta), sin(theta); -sin(theta), cos(theta)]; b = [x_mat; y_mat] a = r*b x_mat_new = a(1,:) y_mat_new = a(2,:) for...
7 months 前 | 1 个回答 | 0
1
个回答提问
unable to rotate the plot
% Rotate the axes theta = 3*pi/4; % Set theta. fprintf('Rotate the axes...\n'); [x_mat_rotated, y_mat_rotated] = rotation(x_m...
7 months 前 | 1 个回答 | 0