question archive Need help creating these function in MATLAB
Subject:Electrical EngineeringPrice: Bought3
Need help creating these function in MATLAB.
x.data = [4 1 5 -6 8];
x.offset = -1;
function y = even{a} % EvEN Take a Hatlab sequence structure x. which is possibly complex and create % a Hatlab sequence structure, y, that corresponds to the even part function Y = oddtz} % ODD Take a Hatlab sequence structure x. which is possibly complex and create % a Hatlah sequence structure y, that corresponds to the odd part