max number of matrix to python
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sam mohel
le 20 Jan 2021
Réponse apportée : Image Analyst
le 20 Jan 2021
I'm new to matlab and need to convert this line to python code
n=max(xx(:,2));
what i got that it's calculated the max number from a matrix and store this value in varable n
but i couldn't got what does that mean xx(:,2)?
0 commentaires
Réponse acceptée
Image Analyst
le 20 Jan 2021
It takes column 2 of the matrix xx and gets the max value in that column 2 and sticks it in the variable called n (yeah - bad name, I know).
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Call Python 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!