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.6
Overall Rating
83%
8%
5%
0%
4%
Reviews
M
Mishra Aaradhana
5
Amazing.. thank you so much for such a valuable content for free....i am feeling very confident after completion of this course very helpful begginer friendly
A
Abdul Majed
5
It was a nice experience for me with learnvern.
M
Mahesh Yede
5
-
S
Sahil Kumar Agrawal
5
Amazing introduction, Sir taught very well I like it
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.
Share a personalized message with your friends.