Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

increasing sinewave in simulink

Asked by Pat

Pat (view profile)

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

1 Comment

Azzi Abdelmalek

Azzi Abdelmalek (view profile)

on 17 Nov 2012

Which one, the first or the second?

Pat

Pat (view profile)

Tags

Products

No products are associated with this question.

1 Answer

Answer by Azzi Abdelmalek

Azzi Abdelmalek (view profile)

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)

6 Comments

Pat

Pat (view profile)

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

Azzi Abdelmalek

Azzi Abdelmalek (view profile)

on 18 Nov 2012

Provide the functions

Pat

Pat (view profile)

on 18 Nov 2012

its a active and reactive power graph ,i need to plot in simulink ,that includes sine wave,these three graphs of a matrix converter,

matrix converter i got from matlab central

Azzi Abdelmalek

Azzi Abdelmalek (view profile)

Contact us