MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Rect Funtion 

I am trying to create a simple rect function in matlab but not sure 

Subject: Rect Funtion From: roberson@ibd.nrccnrc.gc.ca (Walter Roberson) Date: 10 Jun, 2008 20:59:44 Message: 3 of 8 
In article <g2mpij$2ne$1@fred.mathworks.com>, 

> Any particular reason, Rick, that you choose .* instead of & ? 
On Jun 10, 4:37=A0pm, carlos_ra...@hotmail.com wrote: 
To do a rect function in matlab the easiest way is just to say: 
Subject: Rect Funtion From: roberson@ibd.nrccnrc.gc.ca (Walter Roberson) Date: 12 Jun, 2008 13:52:47 Message: 8 of 8 
In article <c88299c7c27a4ff0a1e75c23efdbb98e@f63g2000hsf.googlegroups.com>, 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.