overloading x=[a b; c d]
조회 수: 4 (최근 30일)
이전 댓글 표시
Suppose a,b,c,d are instances of a custom Matlab class. I can redefine [a b] and [a;b] by overloading horzcat() and vertcat(); however, how do I overload a more complex concatenation operation such as [a b; c d]?
댓글 수: 0
답변 (1개)
Sean de Wolski
2012년 2월 8일
I would think that if horzcat and vertcat are properly overloaded that would work as is?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!