calculate area in table
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
nur afiqah
el 22 de Jul. de 2019
Comentada: Andrei Bobrov
el 23 de Jul. de 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 comentarios
Respuesta aceptada
Andrei Bobrov
el 22 de Jul. de 2019
T = readtable('Book1.xlsx');
out = varfun(@sum,T,'g','Class_Name');
2 comentarios
Andrei Bobrov
el 23 de Jul. de 2019
T = readtable('Book2.xlsx');
out = varfun(@sum,T,'g',{'Class_Name','distance'});
Más respuestas (1)
KSSV
el 22 de Jul. de 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 comentarios
Ver también
Categorías
Más información sobre Matrix Indexing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!