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

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

What does your equation mean? I think you'd better rearrange your question.

댓글을 달려면 로그인하십시오.

답변 (1개)

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

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2013년 5월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by