Creating a 3d array from 1d vectors

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?

 採用された回答

Arthur Roué
Arthur Roué 2020 年 7 月 17 日

0 投票

Look for meshgrid or ndgrid functions, you may find what you want

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

2020 年 7 月 17 日

回答済み:

2020 年 7 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by