필터 지우기
필터 지우기

Toolbox that contains wcommon?

조회 수: 1 (최근 30일)
SH Baek
SH Baek 2018년 3월 8일
댓글: Ying Yin 2020년 4월 18일
I have a code to calculate tortuosity of 3D geometry. It contains one line below. [connect_voxels_index_match,slide_one_axis_index_match]= wcommon(connect_voxels_index,slide_one_axis_index);
However my MATLAB 2017a cannot find the definition of wcommon. Publisher said it is contained in a toolbox, but he does not remember. Anybody knows which toolbox has it? Or any same function as this?
Looking forward to your reply.
  댓글 수: 1
Ying Yin
Ying Yin 2020년 4월 18일
Hi Beak,
Did you find any same function as wcommon.m or a solution for this problem?
Thanks,
Ying

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

답변 (1개)

Jyotish Robin
Jyotish Robin 2018년 3월 20일
Hi!
There is a wcommon.m file available as a part of Wavelet Toolbox. (I used 'which -all' to fetch the path of the same)
>> which -all wcommon
C:\Program Files\MATLAB\R2018a\toolbox\wavelet\wavelet\wcommon.m
I looked up the function and found the below info as well:
% WCOMMON Find common elements.
% For two vectors X and Y with integer components,
% [XI,YI] = WCOMMON(X,Y) returns two vectors
% with 0 and 1 components such that:
% XI(k) = 1 if X(k) belongs to Y otherwise XI(k) = 0 and
% YI(j) = 1 if Y(j) belongs to X otherwise YI(j) = 0.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Biomedical Imaging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!