what is the word need to fill in this blank
조회 수: 1 (최근 30일)
이전 댓글 표시
If x is a vector, and you want to define a variable y according to the equation Y=2X^2, you would need to use array operations. The expression to define y would be:
댓글 수: 0
답변 (1개)
per isakson
2017년 10월 15일
편집: per isakson
2017년 10월 15일
>> x = 1:4;
>> y = 2*x.^2
y =
2 8 18 32
But wouldn't it had been better to find this in the documentation? Searching the documentation is an essential part of using Matlab. See
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Adding custom doc에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!