Create a row vector containing integers from 1 to 10

How to Create a row vector containing integers from 1 to 10

답변 (2개)

KSSV
KSSV 2022년 2월 7일
A = 1:10 ; % double
I = uint8(1:10) % unsigned integers
I = 1×10
1 2 3 4 5 6 7 8 9 10
Image Analyst
Image Analyst 2022년 2월 7일

0 개 추천

I believe this should be one of the very first things you'll learn when learning MATLAB. Spend a couple of hours in the link below, and you can avoid asking lots and lots of questions like that because you'll come up to speed very quickly after those two hours:

이 질문은 마감되었습니다.

질문:

2022년 2월 7일

마감:

2022년 2월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by