Input of array into equation won't return array?
显示 更早的评论
If I input x=1:1:10, then I input y=(3*x)/(3+x). Why do I get y=2.0497 returned instead of an array?
1 个评论
Stephen23
2017-4-17
@Ian Gargan: you are using the wrong operator mrdivide /, when you should be using rdivide ./. Read about the differences here:
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!