Borrar filtros
Borrar filtros

Calculate the summation of second column in both arrays

1 visualización (últimos 30 días)
Rozh
Rozh el 8 de Jun. de 2024
Editada: Torsten el 8 de Jun. de 2024
hi...can someone help me with this question?? i need to calculate the summation of second column in both arrays...thank u

Respuesta aceptada

Torsten
Torsten el 8 de Jun. de 2024
Editada: Torsten el 8 de Jun. de 2024
array = [2 5;7 -4];
sum(array(:,2))
ans = 1

Más respuestas (0)

Categorías

Más información sobre Data Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by