Effacer les filtres
Effacer les filtres

How to add maximum minimum points with respect to zero?

1 vue (au cours des 30 derniers jours)
SOMNATH MAHATO
SOMNATH MAHATO le 9 Fév 2022
Commenté : SOMNATH MAHATO le 9 Fév 2022
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?

Réponse acceptée

Chunru
Chunru le 9 Fév 2022
Modifié(e) : Chunru le 9 Fév 2022
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 commentaires
Chunru
Chunru le 9 Fév 2022
See above.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by