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!