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

11 ビュー (過去 30 日間)
balajee J
balajee J 2013 年 5 月 14 日
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 件のコメント
Yao Li
Yao Li 2013 年 5 月 14 日
What does your equation mean? I think you'd better rearrange your question.

サインインしてコメントする。

回答 (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 Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by