how can i create a new Matrix

조회 수: 1 (최근 30일)
shanmukh
shanmukh 2013년 2월 15일
how can i create a new matrix with multiples of 0.025 with dimensions [766525*1]
required matrix
[0
0.025
0.05
0.075
0.1
0.125
.
.
.
. . ]

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 15일
편집: Azzi Abdelmalek 2013년 2월 15일
pas=0.025
n=766525
A=(0:pas:(n-1)*0.025)'
%or
linspace(0,(n-1)*pas,n)'
  댓글 수: 4
Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 15일
just transpose it
A=A'
shanmukh
shanmukh 2013년 2월 15일
i got the result
thanks a lot

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by