Creating a 3d array from 1d vectors

5 visualizzazioni (ultimi 30 giorni)
Marco Vona
Marco Vona il 17 Lug 2020
Risposto: Arthur Roué il 17 Lug 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?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by