overloading x=[a b; c d]
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Sean de Wolski
le 8 Fév 2012
I would think that if horzcat and vertcat are properly overloaded that would work as is?
0 commentaires
Voir également
Catégories
En savoir plus sur Operating on Diagonal Matrices dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!