Separately creating two parts of an array?

1 visualización (últimos 30 días)
Joe
Joe el 17 de Mzo. de 2013
I have an array x that is initialized to be of size 1 by n containing random values. The overall length of array x is some value a * some value b. How would I create the elements of x from n+1 to the end?

Respuestas (2)

Azzi Abdelmalek
Azzi Abdelmalek el 17 de Mzo. de 2013

Jan
Jan el 18 de Mzo. de 2013
Such problems are discussed exahustively in the documentation. Please read at least the "Getting Started" chapters, because it is impossible to work with such a powerful language as Matlab without reading the manuals. It is not efficient to discuss such basic questions in the forum, when MathWorks spend so much time and knowhow to create this marvelous and exhaustive documentation already in written form.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by