ı need to help about Decision Branching task1 solution, I don't understand this:
61 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ummu Gulsum Simsek
el 18 de Feb. de 2022
Editada: Walter Roberson
el 25 de Sept. de 2025 a las 16:51
Modify the script so that the plotting code on lines 5-8 are executed only when doPlot is 1.
The solution shows that:
if doPlot == 1
plot(density)
title("Sample Densities")
xticklabels(element)
ylabel("Density (g/cm^3)")
end
but when ı click submit,it isn't true.
7 comentarios
Hassan Iskandarani
el 25 de Feb. de 2022
Editada: Walter Roberson
el 25 de Sept. de 2025 a las 16:51
Hassan Iskandarani
el 25 de Feb. de 2022
Editada: Walter Roberson
el 25 de Sept. de 2025 a las 16:51
NVM it worked
Respuestas (1)
Sabyrzhan
el 25 de Sept. de 2025 a las 16:12
if doPlot == 1
plot(x, y)
title('Plot of x vs y')
xlabel('x-axis')
ylabel('y-axis')
end
0 comentarios
Ver también
Categorías
Más información sobre Polar Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!