Benefits of User Defined Functions in Matlab | H1 line Advantages in User Defined Functions
We have discussed five more important things about user defined function.
1) Need of user defined function
2) How to write it in Matlab
3) Embedding in main script file
4) Benefits
5) H1 help line
In this video Part 4 we have discussed the benefits of using User Defined Function in Matlab, in urdu / hindi.
It shortens the size of Matlab code. Debugging become easy when code is split into sections. Complexity of main script file is reduced as function variable don't interfere in program variable.
Also we have explained the importance of H1 line and help lines in the function body. H1 line helps us to search our User Defined Function in Matalb memory. So its better to briefly describe the function in H1 line.