Given a matrix, map all the elements within a given interval.
a=[ 2 5 10]
mapped in the interval [1,2] >> [1, 1.375, 2].
Bottles of beer
07 - Common functions and indexing 2
Swap two numbers
Find the nearest prime
Sub-sequence - 03
Find the sequence
Tell your secret
Sub-sequence - 02
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