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?
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.