Working with points of a plot?

1 次查看(过去 30 天)
soloby
soloby 2015-6-18
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 个)

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

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by