MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Pat
on 17 Nov 2012

I have to plot the graph in simulink

http://www.sendspace.com/file/6fsq8a

can you please tell how to plot it ,can u provide assistance please

*No products are associated with this question.*

Answer by Azzi Abdelmalek
on 17 Nov 2012

t=0:0.1:10;y1=sin(4*t); y=reshape(bsxfun(@times,repmat(y1,3,1)',[1 3 5]),1,[]); close,plot(y)

Show 3 older comments

Pat
on 18 Nov 2012

Azzi can you please tell how to plot in simulink,i typed in command window i got graph,can u tell how to get in simulink please

## 1 Comment

## Azzi Abdelmalek (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/53981#comment_111641

Which one, the first or the second?