MATLAB: How to work with fcn block in simulink

MATLABsimulink

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

Best Answer

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