필터 지우기
필터 지우기

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

조회 수: 3 (최근 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 CenterFile Exchange에서 Tables에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by