ase 330m - x(n elseif(x(n<0&&(x(n>-1 x(n)=1 x(n...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
2/16/06 12:23 PM \\ase-lrc-server\home\rdc55\Desktop\Linear\fx.m 1 of 1 function [y]=fx(x) [m,g]=size(x) for n=1:g if abs(x(n))>=1
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: x(n) elseif ((x(n)<0) && (x(n)>-1)) x(n)=1+x(n) elseif ((x(n)>=0) && (x(n)<1)) x(n)=1-x(n) end end y=x...
View Full Document

This note was uploaded on 09/25/2011 for the course ASE 18510 taught by Professor Jeannefalcon during the Spring '10 term at University of Texas.

Ask a homework question - tutors are online