How to Use the operator ‘:’ (colon) to create vectors of number series from 1 to 20 stored to variable X and number series of 10 to 25 stored to variable Y.

 채택된 답변

Sudhakar Shinde
Sudhakar Shinde 2020년 10월 6일

0 개 추천

You can use directly colon (:) operator.
X=1:20
Y=10:25
For more info:

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

2020년 10월 6일

답변:

2020년 10월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by