Noob Question about Functions
Show older comments
So how come when I start my code with
function EA3()
I get a Error: function definitions are not permitted in this context. My friend started his code off with
function Assignment03
N=8;
L=[2 0 3 2 6 7 9 5];
.
.
.
.
I tried to mock this to play around with it but as soon as I press enter to go to line two after function it gives me that error. I have very little experience in Matlab so any help is highly appreciated. Thanks in advance.
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!