필터 지우기
필터 지우기

How to add maximum minimum points with respect to zero?

조회 수: 1 (최근 30일)
SOMNATH MAHATO
SOMNATH MAHATO 2022년 2월 9일
댓글: SOMNATH MAHATO 2022년 2월 9일
x1 min = -0.023 ; x1 max= 0.032
y1 min =-0.043; y1 max= 0.026
How to join these four points with respect to zero?
x2 min =-0.58; x2 max=0.081
y2 min= -0.07; y2 max=0.688
How to join these four points with respect to zero? and add these points in one diagram?

채택된 답변

Chunru
Chunru 2022년 2월 9일
편집: Chunru 2022년 2월 9일
x1_min = -0.023 ; x1_max= 0.032;
y1_min =-0.043; y1_max= 0.026;
p1 = [x1_min, 0; 0, y1_min; x1_max, 0; 0, y1_max; x1_min, 0];
x2_min =-0.58; x2_max=0.081;
y2_min= -0.07; y2_max=0.688;
p2 = [x2_min, 0; 0, y2_min; x2_max, 0; 0, y2_max; x2_min, 0];
plot(p1(:,1), p1(:,2)); hold on
plot(p2(:,1), p2(:,2)); hold off
set(gca, 'XAxisLocation', 'origin', 'YAxisLocation', 'origin')
  댓글 수: 3
Chunru
Chunru 2022년 2월 9일
See above.

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by