Append two matrix as shown below example
A=[1 2; 3 4] and B=[5 6;7 8]
Answer must be
1 2 5 6
3 4 7 8
You can add column like [x y] and row like[x;y]
you can do...[A B]
use [A B].. Enjoy...
Return the 3n+1 sequence for n
Distance walked 1D
Magic is simple (for beginners)
Replace multiples of 5 with NaN
Integer or Float?
Find out Binomial coefficient
Find out total non zero element of matrix
Find the mode of the given input
Compute LOG(1+X) in natural log
Convert Kilometers to Miles
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