MATLAB - piecewise defined Fn as periodic

  • Thread starter Thread starter Apothus
  • Start date Start date
  • Tags Tags
    Matlab Periodic
Click For Summary
SUMMARY

The discussion centers on extending a piecewise defined function in MATLAB, specifically F(t)=a-aU(t-1)+(-3/2.5*t+4.2)U(t-1)-(-3/2.5*t+4.2)U(t-3.5), to create an even function. Participants confirm that to achieve this, one can utilize the property F(-t) = F(t). This approach ensures that the function maintains symmetry about the y-axis, which is essential for periodic functions.

PREREQUISITES
  • Understanding of piecewise functions in MATLAB
  • Familiarity with the Heaviside step function U(t)
  • Knowledge of even functions and their properties
  • Basic MATLAB programming skills
NEXT STEPS
  • Explore MATLAB's symbolic toolbox for function manipulation
  • Learn about periodic functions and their mathematical definitions
  • Investigate the implementation of the Heaviside function in MATLAB
  • Study examples of creating even functions from piecewise definitions
USEFUL FOR

Students, educators, and engineers working with MATLAB who need to understand piecewise functions and their transformation into periodic forms.

Apothus
Messages
4
Reaction score
0

Homework Statement


We have been provided with a graph
of a function modeled by F(t)=a-aU(t-1)+(-3/2.5*t+4.2)U(t-1)-(-3/2.5*t+4.2)U(t-3.5)

I have entered this into MATLAB and it replicates the graph we have been provided with but we now need to extend this as an Even function.
 
Physics news on Phys.org
Can't you just use F(-t) = F(t)?

What are you going to do next with this function?
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K
Replies
15
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K