Constucting an array in column form
이전 댓글 표시
Construct an array a (in column form) made of 17 (equally-spaced) values between 17 and 289.
채택된 답변
추가 답변 (1개)
Mischa Kim
2014년 1월 25일
편집: Mischa Kim
2014년 1월 25일
0 개 추천
Use
c = linspace(17, 289, 19)
This results in 19 data points, including the two end points, 17 and 289. To switch between row and column vector simply use the "prime"
c'
카테고리
도움말 센터 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!