Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Filling an array

Subject: Filling an array

From: Andrey Orlov

Date: 9 Apr, 2010 06:27:19

Message: 1 of 2

Hello,

A newbie question: I have a four-dimensional array with an element (i, j ,k, l). How to fill this array, so that for all j, k, l I get the same column-vector (:, j, k, l )?

Subject: Filling an array

From: us

Date: 9 Apr, 2010 06:39:05

Message: 2 of 2

"Andrey Orlov" <user771-30@freemail.ru> wrote in message <hpmhc7$rd1$1@fred.mathworks.com>...
> Hello,
>
> A newbie question: I have a four-dimensional array with an element (i, j ,k, l). How to fill this array, so that for all j, k, l I get the same column-vector (:, j, k, l )?

a hint:

     help repmat;

us

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us