Given three numbers a,b,n with b>a, create a vector y with n logarithmic spaced values between 10^a and 10^b.
Thus, if a = -2, b = 3 and n = 6, then
y = [10^-2 10^-1 10^0 10^1 10^2 10^3] = [0.01 0.1 1.0 10.0 100.0 1000.0]
Make a random, non-repeating vector.
sum of first 'n' terms
Compare two input matrices
Replacing a row
Matlab Basics - Rounding I
Generate n equally spaced "intervals" between -x and x
Create a vector of the first n naturnal numbers
Create a vector of n alternating ones and zeros
Create a vector of the first n odd numbers
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office