calculate area in table
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
nur afiqah
le 22 Juil 2019
Commenté : Andrei Bobrov
le 23 Juil 2019
Greetings,
I have a 32 variables containing 1000++ rows and a column containing area for each row. Can Matlab read and call a certain variable in the row and calculate area based on selected variable?
0 commentaires
Réponse acceptée
Andrei Bobrov
le 22 Juil 2019
T = readtable('Book1.xlsx');
out = varfun(@sum,T,'g','Class_Name');
2 commentaires
Andrei Bobrov
le 23 Juil 2019
T = readtable('Book2.xlsx');
out = varfun(@sum,T,'g',{'Class_Name','distance'});
Plus de réponses (1)
KSSV
le 22 Juil 2019
Load the data from excel file using xlsread or readtable. Once you have data in workspace......you can get your desired result using some functions and indexing.
0 commentaires
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!