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. Related SolutionsMATLAB: How to feed discrete i/p to simulink model Possible with any of the following blocksSources\From WorkspaceSources\Repeating SequenceSources\Repeating Stair MATLAB: In simulink, how to generate a square wave using an external source as frequency you can use a normal Pulse generator block in Simulink and use set_param command to set any of the parameters like Amplitude, Period, PulseWidth, PhaseDelay, SampleTime etc.set_param('Pulse Generator Block','Period',12); Related QuestionRepeating stair sequence does not hold value when plotting on MATLABI want create a pulse in simulinkWhere Can I find these signals in SIMULINKHow to generate sin signal in simulinkHow to design a customized sample based signal in Simulink
Best Answer