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

0 votes

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by