You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even with the MatrixIndexing_ArithmeticOperatorPadding and CellArrayIndexing_ArithmeticOperatorPadding set to 1, space is still deleted in the following code:
plotAndLabel(t, x29, "A " + f29 + " Hz Sine Wave", false);
The space I am referring to is the space after the first plus sign, so after running MBeautifier it looks like this:
plotAndLabel(t, x29, "A " +f29 + " Hz Sine Wave", false);
and I have to manually go through and readd the space after the plus sign.
this is what plotAndLabel() is:
function plotAndLabel(t, x, myTitle, isStem)
figure;
if isStem
stem(t, x);
ylabel('x(n)');
else
plot(t, x);
ylabel('x(t)');
end
xlabel('t (seconds)');
title(myTitle);
% hold on;
end
The text was updated successfully, but these errors were encountered:
mkr3mer
added a commit
to mkr3mer/MBeautifier
that referenced
this issue
Feb 10, 2021
Even with the MatrixIndexing_ArithmeticOperatorPadding and CellArrayIndexing_ArithmeticOperatorPadding set to 1, space is still deleted in the following code:
plotAndLabel(t, x29, "A " + f29 + " Hz Sine Wave", false);
The space I am referring to is the space after the first plus sign, so after running MBeautifier it looks like this:
plotAndLabel(t, x29, "A " +f29 + " Hz Sine Wave", false);
and I have to manually go through and readd the space after the plus sign.
this is what plotAndLabel() is:
function plotAndLabel(t, x, myTitle, isStem)
figure;
if isStem
stem(t, x);
ylabel('x(n)');
else
plot(t, x);
ylabel('x(t)');
end
xlabel('t (seconds)');
title(myTitle);
% hold on;
end
The text was updated successfully, but these errors were encountered: