How to use linspace on a matrix
Mostra commenti meno recenti
Dear all

I have these values on a matrix and would like it to decrease from 0.8112 to 0.6(for the first column) evenly across all the rows. I would really appreciate any help on how to do this
Risposta accettata
Più risposte (1)
David Hill
il 17 Apr 2021
yourMatrix=repmat(linspace(.8112,.6,100)',1,13);
Categorie
Scopri di più su Creating and Concatenating Matrices 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!