Help Needed! Drawing a Half-Wave Sinusoid in Simulink

Click For Summary
SUMMARY

The discussion focuses on creating a half-wave sinusoid in Simulink using the equation I(t)=360sin(pi*t/0.4) for 0<=t<=0.4 and I(t)=0 for 0.4 PREREQUISITES

  • Familiarity with Simulink environment and its components
  • Understanding of sine wave equations and their parameters
  • Knowledge of time step settings in Simulink simulations
  • Basic skills in customizing graph properties in Simulink
NEXT STEPS
  • Explore how to adjust time step settings in Simulink for better resolution
  • Learn about the Sine block configuration in Simulink for accurate waveform generation
  • Research methods to customize graph colors and styles in Simulink
  • Investigate the use of MATLAB functions to generate and plot custom waveforms
USEFUL FOR

Simulink users, electrical engineers, and students looking to visualize mathematical functions and improve their simulation skills.

cherylt
Messages
1
Reaction score
0
Dear all, I am pretty bad at Simulink and I want to draw out a half wave sinusoid with the equation:
I(t)=360sin(pi*t/0.4), 0<=t<=0.4
I(t)= 0 , 0.4<t<=1

Any help or suggestions?
I've tried using the Sine block with amp=360 and freq=7.85 but the graph looks weird.
I want to get the graph in blue but only managed to get the one in yellow.
z9190q7.jpg
 
Last edited:
Engineering news on Phys.org
You're not using enough points to generate the sine. Reduce the time step.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
8K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 6 ·
Replies
6
Views
9K