User Defined Functions in Matlab with Examples in Urdu | Why we need User Define Function
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 1 , after introduction we have explained the basic reasons of why we need user defined function, with the examples of Mersenne prime number and Safe prime numbers in urdu/hindi. How this method reduce size and error chances in main script file. For debugging it helps us by splitting the Matlab code into sections. Most important result of discussion is if some section of codes is being used in different programs or multiple time in the same program, it is better to make it a User Defined Function and use it.
if you find this video useful, kindly
like and comment on this video and subscribe to our channel.