After resolving some issues with given code, using “plot” function of MATLAB, you can plot the temporal representations of (x_1(t)), (x_{21}(t)), (x_{22}(t)), and (x_{23}(t)).
- Try setting “T3” to finite range so that it’s easy to plot the same.
- Avoid overwriting “t2” with new range and use a different variable name for third time range.
t3 = linspace(T2, T3-pi/N, N);
- Ensure that all time ranges are consistent and make sense within the context of your problem.
The plot after resolving the issues will look like given below:
For better understanding of “plot” function refer to the following documentation:
Hope that helps!