How can I code diagonal matrix
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Wm is an N0tilda x N0tilda diagonal matrix
---Matlab code---
Wm = zeros(N0tilda,N0tilda);
----------------------------
given by
Wm = diag(W_{n0}^{-m * 0},W_{n0}^{-m * 1}, ..., W_{n0}^{-m * (N0tilda -1})
I don't make given by Wm
0 Commenti
Risposte (2)
Walter Roberson
il 17 Giu 2015
Wm = diag( [ W_{n0}^{-m * 0},W_{n0}^{-m * 1}, ..., W_{n0}^{-m * (N0tilda -1} ] )
1 Commento
Vedere anche
Categorie
Scopri di più su Operating on Diagonal Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!