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]?

Réponses (1)

Sean de Wolski
Sean de Wolski le 8 Fév 2012

1 vote

I would think that if horzcat and vertcat are properly overloaded that would work as is?

Catégories

En savoir plus sur MATLAB Mobile Fundamentals dans Centre d'aide et File Exchange

Produits

Question posée :

le 8 Fév 2012

Community Treasure Hunt

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

Start Hunting!

Translated by