Question

15. Repeat the exercise above perfectly in Matlab. Defining a function is different in Matlab. Does Matlab give the same results as Python? No Yes

Fig: 1

Fig: 2

Fig: 3