This submission just seems to replicate the behavior of MATLABs inbuilt functions "sprintf"/"fprintf":
A drop-in replacement for this submission can thus be easily defined in one line:
fun = @(num,dgt) sprintf('%0*i',dgt,num);
The submission is also much slower and offers much less control over the output format than "sprintf", although that error checking may be useful to someone.
Hi, first of all thanks for the excellent tool!
I have the following problem: when I reduce the font size (for instance, to 8), the crop is no longer precise and it cuts off parts of the figure on the top and on the right by very few pixels.
Therefore, I'd like to adjust the crop by adding a few pixels to the top and to right margins. I've tried to dig into the code to adjust the margin settings, but with no success. How can I solve this problem? Thank you in advance for you answer!
26 Sep 2014
Produces radiation pattern for Broadside, Endfire, Binomial, and Dolph - Chebyshev antenna arrays
I have uploaded a version that I use that does a decent amount of error checking prior to running the commands to ensure that there are no issues. It also incorporates fixes for a lot of the questions and concerns voiced here.