the output result of my coding shows function definition misplaced. is there any solution for this little mistake ?
>> FindSegment(1, 1)Error: File: FindSegment.m Line: 87 Column: 4Function definition is misplaced or improperlynested.
i attached the source code here
Best Answer