Borrar filtros
Borrar filtros

Info

This question is locked. Vuélvala a abrir para editarla o responderla.

Decision Branching, modification Script

145 visualizaciones (últimos 30 días)
Francis Adams Kwofie
Francis Adams Kwofie el 5 de Jul. de 2021
Locked: DGM el 16 de Ag. de 2024 a las 22:54
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)")

Respuesta aceptada

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

Más respuestas (0)

This question is locked.

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by