why do I have unrecognized function error for z?

1 次查看(过去 30 天)
I thought I defined z by putting it in the switch.
  1 个评论
KSSV
KSSV 2020-11-20
Don't attach your code as a image snippet. You can always copy paste your code here.
What is variable buff?

请先登录,再进行评论。

回答(1 个)

Steven Lord
Steven Lord 2020-11-20
What should the value of z be if buff is none of "none", "30min", or "60min"? What if buff was "30 minutes", for example?

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by