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

2 ビュー (過去 30 日間)
Zeynab Mousavikhamene
Zeynab Mousavikhamene 2019 年 11 月 29 日
コメント済み: J Chen 2019 年 11 月 29 日
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.

回答 (1 件)

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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeTables についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by