overloading x=[a b; c d]
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Sean de Wolski
am 8 Feb. 2012
I would think that if horzcat and vertcat are properly overloaded that would work as is?
0 Kommentare
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!