Working with points of a plot?

2 visualizzazioni (ultimi 30 giorni)
soloby
soloby il 18 Giu 2015
Risposto: Azzi Abdelmalek il 18 Giu 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

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 18 Giu 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