how can i create a new Matrix

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 日

0 投票

pas=0.025
n=766525
A=(0:pas:(n-1)*0.025)'
%or
linspace(0,(n-1)*pas,n)'

4 件のコメント

shanmukh
shanmukh 2013 年 2 月 15 日
i get a [1*766525] matrix
shanmukh
shanmukh 2013 年 2 月 15 日
i am unable to generate a matrix and matlab automatically shuts down
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 件)

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by