Working with points of a plot?

2 vues (au cours des 30 derniers jours)
soloby
soloby le 18 Juin 2015
Is there any way to work with multiple points of a plot?
for example,
if I had 2 points
A= (-2, 3); B = (5, 3);
can I do basic operations like add and multiply of these 4 numbers -2, 3, 5, 3 to get a new plot point say, C = (3, 3)?
like, how do I get (3, 3) or something
  1 commentaire
Azzi Abdelmalek
Azzi Abdelmalek le 18 Juin 2015
can you explain?

Connectez-vous pour commenter.

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 18 Juin 2015
A=[-2, 3];
B =[5, 3];
C=A+B
D=A.*B

Community Treasure Hunt

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

Start Hunting!

Translated by