# James

### Naval Surface Warfare Ctr

I was born. I'm currently living. Someday, I'll die.

**Statistics**

RANK**25,083**

of 289,452

REPUTATION**1**

CONTRIBUTIONS

**7** Questions

**1** Answer

ANSWER ACCEPTANCE **
85.71%
**

VOTES RECEIVED**1**

RANK

of 19,549

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

List the Fermi-Dirac primes

The Fermi-Dirac “primes” are prime powers with exponents that are powers of 2. The first nine terms of the sequence are 2, 3, 4,...

3 days ago

Solved

Matlab Basics II - Determine if an array has a 3rd dimension

For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

3 days ago

Solved

Calculate Parallel Resistance

Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...

7 days ago

Solved

Resistance of a light bulb

The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

7 days ago

Solved

An Ohm's Law Calculator

*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

7 days ago

Solved

Force and Motion 3

Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

7 days ago

Solved

Force and Motion 2

Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

7 days ago

Solved

remove every row&col for every nan

for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...

7 days ago

Solved

Column Removal (★★★)

(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...

7 days ago

Solved

Find Rows with Specift Properities

Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

7 days ago

Solved

Remove a specific column with max value

Remove the column that contain the max value in the matrix?

7 days ago

Solved

Remove a specific column with min value

Remove the column that contain the min value in the matrix?

10 days ago

Solved

Remove a specific row with min value

Remove the row that contain the min value in the matrix?

10 days ago

Solved

Remove a specific row with max value

Remove the row that contain the max value in the matrix?

10 days ago

Solved

Flip the diagonal values

Write a program that flip the elements of main diagonal , upper and lower diagonal values of a sqare matrix. For example if a ...

10 days ago

Solved

Swap between columns

The idea is to swap between second and second last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

10 days ago

Solved

Remove a specific character with another

Remove any (-) dash sign with (_) underscore Ex = 'The-Journey-of-thoudsands-miles-starts-with-a-single-step' y = 'The_Jour...

10 days ago

Solved

Swap between first and last

The idea is to swap between first and last row Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

10 days ago

Solved

Swap between first and last column

The idea is to swap between first and last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 ...

10 days ago

Solved

Swap between rows

The idea is to swap between second and second last row Ex = [1 2 3 4 5; 5 4 3 2 1; 1 2 3 4 5; 1 2 3 4 5; ...

10 days ago

Solved

Diagonal Pattern

For a positive integer |n|, return an |nXn| matrix |mat| such that the value of each element in row |i| and column |j| is given ...

24 days ago

Solved

Sum of big primes without primes

Inspired by Project Euler n°10 (I am quite obviously a fan). With problem n°250 by Doug, you can find some global methods to co...

5 months ago

Solved

String Logic 8

Example: 'CAT' --> 65 'DOG' --> 68 'ROSY' --> 79 'MATLAB' --> 65 'TRUST' --> 82 'MOSTLY' --> 76

8 months ago

Solved

Hamming Weight - Fast

The Hamming Weight, <http://en.wikipedia.org/wiki/Hamming_weight wiki Hamming Weight>, in its most simple form is the number of ...

9 months ago

Solved

Musical Note Interval 1 - Diatonic Scale

Assuming a simple diatonic C scale, calculate the interval (integer) between two notes (provided as strings). By applying number...

9 months ago

Solved

time of day

Calculate the time of day in days, hours, minutes or seconds passed since the beginning of the day, depending on the unit. The u...

12 months ago

Solved

Construyendo matrices parte 2

Construye la siguiente matriz a partir de otros tres vectores/matrices. [ 1 8 15 3 3 3 3 2 9 16 3 3...

12 months ago

Solved

Cricket - Most Frequent Bowler-Batter Wicket Combinations

Given a table representing all wickets taken in a particular set of matches, return a table of the bowler-batter pairs that occu...

1 year ago