Filter löschen
Filter löschen

how to subtract/divide corresponding rows and columns of two tables?

3 Ansichten (letzte 30 Tage)
Zeynab Mousavikhamene
Zeynab Mousavikhamene am 29 Nov. 2019
Kommentiert: J Chen am 29 Nov. 2019
There are twoe tables that have the same number of columns and rows. How can I substractdivide each correpsonindg elelments?
They are very large tables (many rows and columns) so I am searching for a standard matlab command.

Antworten (1)

J Chen
J Chen am 29 Nov. 2019
put the tables in to two variables of matrices. Use element-wise operation: ./ or .*
  2 Kommentare
Zeynab Mousavikhamene
Zeynab Mousavikhamene am 29 Nov. 2019
@ J Chen: As they are large table, I am searching for efficient method like a matlab command.
J Chen
J Chen am 29 Nov. 2019
./ and .* are standard matlab command. they should be efficient. give them a try.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Tables finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by