I'm using MATLAB and OCTAVE.
In the following program, number is attached to title name.
But it does not work well when
num2str(n) is attached.
Will you please confirm?
-------------------------------------------------------------
% e83.m
t = 1:100;
figure
for n=1:4
subplot(2,2,n)
a = " deformation - force, n=" + num2str(n); % no for OCTAVE
y = sin(2*pi*n*t/100);
plot(t,y);
title(a)
end
--
----------------------------------------
Fumio HAKAMADA, P.E.