Multiplying spreadsheet column by variable
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Gavin Seddon
le 30 Juil 2016
Commenté : Gavin Seddon
le 1 Août 2016
Hello can a spreadsheet column be multiplied by a variable of a function to generate a new column?
g.
1 commentaire
Réponse acceptée
Azzi Abdelmalek
le 30 Juil 2016
Modifié(e) : Azzi Abdelmalek
le 30 Juil 2016
A=randi(10,4,3) % Example
Cst=10
A=[1;2;3]
B=A(:,2)*Cst %Multiply column 2 by constant Cst
5 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!