Changeset 229 for matlab

Show
Ignore:
Timestamp:
01/15/09 10:53:54 (15 years ago)
Author:
smidl
Message:

epdf has a new function: variance()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • matlab/pmsm/mpf_test_disp.m

    r225 r229  
    88 
    99figure(2) 
     10StdX = 2*sqrt(VarE); 
    1011for i=1:4 
    1112        subplot(4,1,i) 
     
    1314        hold on; 
    1415        plot(xthE(:,i)','r') 
     16    plot(xthE(:,i) - StdX(:,i),'r:'); 
     17    plot(xthE(:,i) + StdX(:,i),'r:'); 
    1518        plot(xthM(:,i+4)','g') 
    1619%       plot(xthV(i,:)','m'); 
     
    1821 
    1922figure(3) 
     23StdM = 2*sqrt(VarM); 
    2024for i=1:4 
    2125        subplot(4,1,i) 
    2226        plot(xthM(:,i)') 
     27    hold on 
     28    plot(xthM(:,i)-StdM(:,i),':') 
     29    plot(xthM(:,i)+StdM(:,i),':') 
    2330    if i<4 
    2431        %set(gca,'XTick',[]); 
     
    2734    end 
    2835    ylabel(['Q(' num2str(i) ',' num2str(i) ')']); 
    29     hold on 
    30         plot(Qtr(:,i)','--') 
     36    plot(Qtr(:,i)','--') 
    3137end 
    3238