use of comma & semi colon
조회 수: 7 (최근 30일)
이전 댓글 표시
Please explain the meaning of below command in matlab
A(1, 1:9) = [ 30, 25, 16, 32, 15, 37, 18, 3, 10,]
댓글 수: 0
채택된 답변
Guillaume
2020년 3월 5일
You're asking a very basic question. 5 minutes with any tutorial would have answered it. We recommend that you go through the free matlab onramp to learn the basics of matlab.
댓글 수: 4
Guillaume
2020년 3월 18일
bar([a; b].'); %vertically concatenate the two vector and transpose so they're in columns
추가 답변 (1개)
KSSV
2020년 3월 5일
That means....in the matrix A in the first row (1) the columns one to 9 are filled with [ 30, 25, 16, 32, 15, 37, 18, 3, 10,].
If you want only single array..can be used:
A = [ 30, 25, 16, 32, 15, 37, 18, 3, 10] ;
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!