필터 지우기
필터 지우기

I need help to how to solve this

조회 수: 1 (최근 30일)
makis
makis 2021년 9월 6일
편집: Image Analyst 2022년 5월 9일
  댓글 수: 2
DGM
DGM 2021년 9월 6일
편집: DGM 2021년 9월 6일
Solve what, exactly? Describe the problem. What is the importance of the graph?
makis
makis 2021년 9월 6일
편집: Image Analyst 2022년 5월 9일
I have to make a program and when I run it, it has to make these two shapes.
I am trying to pass a test, and, in one of the questions, the professor asked us to make this.

댓글을 달려면 로그인하십시오.

답변 (1개)

Chunru
Chunru 2021년 9월 6일
r_shape = [-1 0; 0 -1; 1 0; 0 1];
t_shape = [-0.5 -0.866; 1 0; -0.5 0.866];
plot(r_shape([1:end 1], 1), r_shape([1:end 1], 2), 'r-');
hold on
plot(t_shape([1:end 1], 1), t_shape([1:end 1], 2), 'b--');
axis equal
grid on
axis([-1 1 -1 1])
  댓글 수: 1
Walter Roberson
Walter Roberson 2021년 9월 6일
This was not only homework but a test !

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by