help me please :((

조회 수: 1 (최근 30일)
steve jobs
steve jobs 2022년 4월 16일
편집: Image Analyst 2022년 4월 16일
Enter
Bạn đã gửi
Find the volume of the box ABCD.A'B'C'D' whose vertices are equal to the determinant of vertices A(0,0,0), B(1,0,0) A'(0,0,3), B'(1,0,3) C(1,2,0), D(0,2,0) C'(1,2,3), D'(0,2,3)

답변 (1개)

Image Analyst
Image Analyst 2022년 4월 16일
편집: Image Analyst 2022년 4월 16일
Try using plot3() to plot the data. Perhaps visualizing it is the first step to solving it.
% A(0,0,0), B(1,0,0) A'(0,0,3), B'(1,0,3) C(1,2,0), D(0,2,0) C'(1,2,3), D'(0,2,3)
data = [0,0,0; 1,0,0; 0,0,3; 1,0,3; 1,2,0; 0,2,0; 1,2,3; 0,2,3]'
x = data(1,:);
y = data(2,:);
z = data(3,:);
plot3(x, y, z, 'b.', 'MarkerSize', 40);
grid on;
xlabel('x');
ylabel('y');
zlabel('z');
Another hint: use max() and min() to get the range of the x, y, and z data and use the fact that you know the shape to be a perfectly rectangular block.
After that, read these:

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by