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
Right and wrong
Back to basics 6 - Column Vector
Return 'on' or 'off'
Area of a triangle
How to calculate log?
Calculate solution of given polynomial
Solve the system of linear equations
Calculate some equation
Solve system of equation!
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