For those who cannot understand LOGSPACEN(by Duane Hanselman).This is a humble attempt to make it simple,readable and fast. Requires LINSPACEM(by Mukhtar Ullah).
Mukhtar Ullah (2021). LOGSPACEM (https://www.mathworks.com/matlabcentral/fileexchange/5836-logspacem), MATLAB Central File Exchange. Retrieved .
"Compact/fast" claim is unwarranted. Doesn't add anything that the more general logspacen #1054 doesn't already do without the need to download two other files from File Exchange (linspacem and screxpand).
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!