ı need to help about Decision Branching task1 solution, I don't understand this:
47 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Hassan Iskandarani
am 25 Feb. 2022
Bearbeitet: Walter Roberson
am 25 Sep. 2025
Antworten (1)
Sabyrzhan
am 25 Sep. 2025
if doPlot == 1
plot(x, y)
title('Plot of x vs y')
xlabel('x-axis')
ylabel('y-axis')
end
0 Kommentare
Siehe auch
Kategorien
Mehr zu Polar Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!