ı need to help about Decision Branching task1 solution, I don't understand this:
조회 수: 61 (최근 30일)
이전 댓글 표시
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.
답변 (1개)
Sabyrzhan
2025년 9월 25일 16:12
if doPlot == 1
plot(x, y)
title('Plot of x vs y')
xlabel('x-axis')
ylabel('y-axis')
end
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Polar Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!