Different size matrix

Hi, I have a problem: I have two matrix of different size, in matrix one, I have indices of locations of all R waves my algorithm has detected (of the ECG signal), in matrix two, I have the indices of locations of R waves that are false, but these indices are less than the ones of the matrix one. How can I subtract two matrix of different size like these ones?
I want matrix one minus matrix two.

댓글 수: 1

Sean de Wolski
Sean de Wolski 2012년 3월 1일
How do you propose to do this? Please provide a small example with data/operation/output

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2012년 3월 1일

0 개 추천

I do not think you want to subtract the matrices. I think you want to use setdiff()

댓글 수: 1

Aurora F.
Aurora F. 2012년 3월 1일
Thank you very much, I think that function will serve :)

댓글을 달려면 로그인하십시오.

카테고리

질문:

2012년 3월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by