MATLAB Answers

How to work with fcn block in simulink

Asked by Arun Badigannavar on 30 Nov 2012

u=1:1:100,,,,,,,,,,I want caculate sin(u),,,for every value from 1 to 100 with increment of 1,,,How will I do this in simulnik

  1 Comment

Azzi Abdelmalek
on 30 Nov 2012

1 is the increment of u, what about the time step size, is it variable? fixed?

1 Answer

Answer by Azzi Abdelmalek
on 30 Nov 2012
Edited by Azzi Abdelmalek
on 30 Nov 2012
 Accepted answer

To generate u, use a source repeating sequence stair block, then connect it to sine wave function block from simulink/math operations.


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today