How to plot a continuous graph from distinct points.

How to plot a continuous graph by joining the distinct points created by two array of unqual length.
Suppose:-
x=[1 3 5 6]
y=10
plot(x,y,'o')
here you will get some distinct point graph but i want a continuous one.
Help me that.
thanks

 采纳的回答

x=[1 3 5 6];
y=10*ones(size(x));
plot(x,y,'o')

更多回答(1 个)

s(x) = Im{e(−x+i2πx)}.

1 个评论

This doesn't seem related to the original question. Please ask it as a separate question and include more details about what you're trying to do and/or the problem you're experiencing.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

版本

R2019a

标签

Community Treasure Hunt

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

Start Hunting!

Translated by