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
vectorization in N
Get the length of a given vector
Flag largest magnitude swings as they occur
select the primes of a vector
Calculate geostrophic current
Replace 0 to NaN!
Calculate inverse matrix in m by n matrix
Calculate numerical integration.
Determine point is located in a circle or not
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