Separately creating two parts of an array?

1 次查看(过去 30 天)
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?

回答(2 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-3-17

Jan
Jan 2013-3-18
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.

类别

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