Home > eeg > egis > spline > mateqs.m

mateqs

PURPOSE ^

SYNOPSIS ^

function [p,q,error_check]= mateqs2(w,x,y,z,v,k,kinv,a,ainv,e)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [p,q,error_check]= mateqs2(w,x,y,z,v,k,kinv,a,ainv,e)
0002 
0003 n = size(x,2);
0004 mm = 10;
0005 et = e';
0006 kv = kinv*v';
0007 
0008 ev = et*kv;
0009 
0010 q = ainv*ev;
0011 
0012 eq = e*q;
0013 
0014 keq = kinv*eq;
0015 
0016 p = kv - keq;
0017 
0018 kp = k*p;
0019 
0020 verror = v' - (kp +eq);
0021 
0022 etp = et*p;
0023 
0024 error_check(1) = sum(verror);
0025 error_check(2) = sum(etp);

Generated on Wed 20-Sep-2023 04:00:50 by m2html © 2003