Info

This question is locked. Riaprila per modificarla o per rispondere.

Decision Branching, modification Script

59 visualizzazioni (ultimi 30 giorni)
Francis Adams Kwofie
Francis Adams Kwofie il 5 Lug 2021
Locked: DGM il 16 Ago 2024
Modify the script so that the plotting code on lines 4-7 are executed only when doPlot is 1.
plot(density)
title("Sample Densities")
xticklabels(element)
ylabel("Density (g/cm^3)")

Risposta accettata

Dhruv G
Dhruv G il 5 Lug 2021
if doPlot
plot(density)
title("Sample Densities")
xticklabels(element)
ylabel("Density (g/cm^3)")
end

Più risposte (0)

This question is locked.

Categorie

Scopri di più su Geographic Plots in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by