In the given matrix, extract element that have odd rows and column number.
A=[1 4 2 3 5]
B should be
[1 2 5]
And, if A is
[1 2 3
4 5 6
7 8 9]
This user (ALBERT ALEXANDER STONIER) appears to have gamed the system, with fraudulent "likes" of this unremarkable solution submitted by 'sock-puppet' accounts. —DIV
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Area of a Square
Solving Quadratic Equations (Version 1)
Remove the Zero
Determine point is located in a circle or not
Solve the system of linear equations
Calculate geostrophic current
How to permute given 3d matrix?
Make roundn function
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