MATLAB: Create a log space vector

homeworkloglogspacevector

i want to create a log spaced vector consisting of 26 points starting at 2300. my problem is i don't know what the final point is so i can't use logspace (logspace(2300,b,26)) but i don't know what b is. what other command can i use?

Best Answer

Okay, then I think what you need is:
a=0:19;
b=2.^a;
c=2300*b;