% PLOTOPTV  Condition numbers of optimally conditioned
%    Vandermonde matrices
%
N=13;
s=2.32;
c=zeros(N-1,1);
c=[2.0000; 
   4.5109;
   10.156;
   23.101; 
   53.238; 
   123.97; 
   290.74; 
   685.28;  
   1621.3; 
   3847.3;
   9150.2;
   21804.];
n=(2:N)';
hold on
plot(n,log10(c),'*')
for i=1:101
  nn(i)=2+(i-1)*(N-2)/100;
  cas(i)=log10(2/(s^2))+nn(i)*log10(s);
  cch(i)=log10(3^(3/4)/4)+nn(i)*log10(1+sqrt(2));
end
plot(nn,cas,'--')
plot(nn,cch,'-.')
xlabel('n','Fontsize',14)
ylabel('min log cond_F (V)','Fontsize',14)
hold off
