Creating a 3d array from 1d vectors

3 Ansichten (letzte 30 Tage)
Marco Vona
Marco Vona am 17 Jul. 2020
Beantwortet: Arthur Roué am 17 Jul. 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?

Akzeptierte Antwort

Arthur Roué
Arthur Roué am 17 Jul. 2020
Look for meshgrid or ndgrid functions, you may find what you want

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by