Creating a 3d array from 1d vectors

조회 수: 3 (최근 30일)
Marco Vona
Marco Vona 2020년 7월 17일
답변: Arthur Roué 2020년 7월 17일
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일
Look for meshgrid or ndgrid functions, you may find what you want

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by