Matlab 对角线元素赋值。
Mostra commenti meno recenti
a(1:7:end)=3;%对角线元素赋值为3
自己动手操作了,确实是对角线元素赋值为3,但是不大理解这行代码为什么可以实现对角线元素的赋值,求解
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Matrix Indexing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!