Separately creating two parts of an array?
Mostra commenti meno recenti
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?
Risposte (2)
Azzi Abdelmalek
il 17 Mar 2013
x(n+1:end)
Jan
il 18 Mar 2013
0 voti
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.
Categorie
Scopri di più su Multidimensional Arrays in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!