Borrar filtros
Borrar filtros

how can i create a new Matrix

2 visualizaciones (últimos 30 días)
shanmukh
shanmukh el 15 de Feb. de 2013
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
.
.
.
. . ]

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 15 de Feb. de 2013
Editada: Azzi Abdelmalek el 15 de Feb. de 2013
pas=0.025
n=766525
A=(0:pas:(n-1)*0.025)'
%or
linspace(0,(n-1)*pas,n)'
  4 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 15 de Feb. de 2013
just transpose it
A=A'
shanmukh
shanmukh el 15 de Feb. de 2013
i got the result
thanks a lot

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by