Effacer les filtres
Effacer les filtres

how can i create a new Matrix

2 vues (au cours des 30 derniers jours)
shanmukh
shanmukh le 15 Fév 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
.
.
.
. . ]

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 15 Fév 2013
Modifié(e) : Azzi Abdelmalek le 15 Fév 2013
pas=0.025
n=766525
A=(0:pas:(n-1)*0.025)'
%or
linspace(0,(n-1)*pas,n)'
  4 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 15 Fév 2013
just transpose it
A=A'
shanmukh
shanmukh le 15 Fév 2013
i got the result
thanks a lot

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by