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
Program an exclusive OR operation with logical operators
Find the dimensions of a matrix
Matlab Basics - Switching Assignments
Matlab Basics - y as a function of x
How to calculate log?
Solve equation numerically
Solve the system of linear equations
Calculate area of sector
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