MATLAB入門講座​のプログラミングの判​定分岐のタスク1で、​解答通りに入力しても​正解にならない。

画面がコピーできないので、示すことが出来ません。解答です。
if doplot
plot(density)
title("Sample Densities")
xticklabels(element)
ylabel("Density (g/cm^3)")
end

Answers (1)

Akiko
Akiko on 8 Sep 2022

0 votes

if doPlot % P は大文字
end
を追加することをお試しください。
通らない場合は、"リセット" ボタンを押してから試してみてください。

Categories

Find more on 起動と終了 in Help Center and File Exchange

Tags

Asked:

修
on 8 Sep 2022

Answered:

on 8 Sep 2022

Community Treasure Hunt

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

Start Hunting!