MATLAB scripts, including live scripts, can now contain code to define functions as of R2016b. These are referred to as local functions. If you wish to reuse code within a script, local functions are useful. You can avoid creating and keeping separate function files by using local functions.
You may use from the command prompt. Theme. @(n) sin(2*pi*t(n)); Note that until it is supplied as an argument to another function, this function will only be usable within that scope.
Learner's Ratings
4.7
Overall Rating
83%
9%
5%
0%
3%
Reviews
D
Dipak kumar
5
Amazing course for Beginners students
S
Subodh Sunil Bodhe
5
nice
N
NIKHIL PHULWARI
5
H
Habib Ullah
5
its a great job. i like it. thanks so much for this course.
H
Het PATEL
5
best video ever , thanks sir ,thanks learnvern
S
Souvik Poddar
5
excellent
A
Ayush Sinha
5
It's a great course, the curriculum is ideal. Very helpful too.
Share a personalized message with your friends.