plotting in matlab, increase number of divisions on Xaxis
matlab
Solution
To set the `XTick` property of the current axis (`gca`, get current axis), use:
set(gca,'XTick',tickVector);
with `tickVector` being a vector containing the desired tick positions.
Problem
I want to increase number of tickmarks on the `X`-axis in a Matlab Dft graph (magnitude vs. frequency). The precision is OK, but I'd like to increase the number of values displayed on the `X`-axis.