how can i store multiple values in a single variable and plot a graph?

3 次查看(过去 30 天)
If x = 12 + 5
x = 12 - 8
x = 25 * 5
x = 5 /1.2
x = -log(2/5)
all the results a stored in the x values and plot the graph

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-5-14
x(1)= 12 + 5
x(2) = 12 - 8
x(3) = 25 * 5
x(4) = 5 /1.2
x(5) = -log(2/5)
plot(x)

类别

Help CenterFile Exchange 中查找有关 Graph and Network Algorithms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by