overloading x=[a b; c d]
이전 댓글 표시
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]?
답변 (1개)
Sean de Wolski
2012년 2월 8일
1 개 추천
I would think that if horzcat and vertcat are properly overloaded that would work as is?
카테고리
도움말 센터 및 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!