Skip to content

Commit 7ff43b5

Browse files
authored
sprintf link
1 parent c9ce139 commit 7ff43b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/basicConcepts/anonymousFunctionExample.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
clf
4242
n=3;
4343
plot(sinWave(n))
44-
title(sprintf('%d cycles of a sine wave',n))
44+
title(sprintf('%d cycles of a sine wave',n))
45+
%Help on sprintf formating info: https://www.mathworks.com/help/matlab/ref/sprintf.html
4546
set(gca,'XTickLabel',[],'YTickLabel',[])
4647
grid
4748

0 commit comments

Comments
 (0)