Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
help in a matrix
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a matrix with 700 rows and 3 columns, i want to make a function that checks every row and stores the output in a new matrix but it only checks on one row only, is there a way to make it check on all rows?
1 commentaire
Réponses (1)
Chad Greene
le 21 Fév 2014
This function returns an array that is the row of your matrix times five.
function [out] = mynewfunction(matrix,row);
out = 5*matrix(row,:);
0 commentaires
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!