filling matrix in matlab code
Mostra commenti meno recenti
how to filling matrix in matlab
1 Commento
Jan
il 12 Ott 2021
I have a loop in my matlab program which gives me 10 successive values as results, and I want to fill these values in a row matrix of size [10]. how do I program the filling of these values in the matrix in matlab?
Risposte (1)
matrice = zeros(10);
for i=1:10
matrice(1,i)=i;
end
matrice
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!