Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

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

Categorie

Scopri di più su Graph and Network Algorithms in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by