Réponse acceptée

David Goodmanson
David Goodmanson le 26 Juil 2024
Modifié(e) : David Goodmanson le 26 Juil 2024
Hi Bajdar,
xy = [x; y];
z = xy(:)'
i.e. concatenate x and y vertically, read that matrix out columnwise, then take the transpose. If x or y could be complex, then
z = xy(:).'
(transpose, not complex conjugate transpose) is necessary.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by