and i want to add 3 or 4 more elements until 0.5. like [0.2945 0.3513 0.4191 0.5000] BUT without changing my old vector elements and maintain my logharithmic scale as properly as possible like my example but more precise.
@Stephen23, may I ask about a modified version of this problem?
Suppose we have a 1 dimensional array named A, with a length of say, 100, such that A(50:57)= V.
A = zeros(1,100);
V = logspace(log10(0.003),log10(0.25),8);
A(50:57)= V;
Would it be possible to use a similar method to fill in the rest of the array (in this case, the elements which are equal to 0) with the extrapolated values of the same log distribution of the V values?
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
Translated by
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.