urgent help for test please: how to write script on unit convert
显示 更早的评论

i have to write a script in less than 10 lines
5 个评论
Jan
2017-10-19
Exactly: You have to write a script. How can we help you? What is your question?
tayeeba tarannum
2017-10-19
编辑:tayeeba tarannum
2017-10-19
Cedric
2017-10-19
If your problem is about the milliliters, replace them by e.g. apples and check out that it all makes sense.
1 cup can store 4 apples. You get 3 cups, how many apples does that represent?
Once you are clear about how that works on paper, try to implement it programmatically. Don't start on the keyboard wondering what you have to type for having the correct answer. First understand on paper. Once you are clear about the approach, try to reproduce using MATLAB code.
Bassil Salih
2021-9-7
how to convert gallon to liters
回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!