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]
Remove the vowels
Given an unsigned integer x, find the largest y by rearranging the bits in x
Is A the inverse of B?
Create matrix of replicated elements
Generate a vector which contains a pyramid pattern (★★★★)
Sum of elements of a vector (★★★)
Remove the row average (★★★)
Function 1 (★)
Sum of elements in a vector (★)
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