Creating a 3d array from 1d vectors

3 vues (au cours des 30 derniers jours)
Marco Vona
Marco Vona le 17 Juil 2020
Say I am give three vectors with n components each. Is there a quick way to create an array T such that without using a for loop?

Réponse acceptée

Arthur Roué
Arthur Roué le 17 Juil 2020
Look for meshgrid or ndgrid functions, you may find what you want

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by