**Programming Languages:**

MATLAB

**Spoken Languages:**

English

**Professional Interests:**

Fluid Dynamics, Aerospace Engineering, Aerodynamics, Computational Fluid Dynamics (CFD)

**Statistics**

RANK**142**

of 271 362

REPUTATION**730**

CONTRIBUTIONS

**7** Questions

**187** Answers

ANSWER ACCEPTANCE **
71.43%
**

VOTES RECEIVED**164**

RANK**11 338** of 18 299

REPUTATION**33**

AVERAGE RATING**5.00**

CONTRIBUTIONS**1** File

DOWNLOADS **16**

ALL TIME DOWNLOADS**288**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How can we insert a row matrix without altering the rest of the values?

A = reshape(1:15,3,5)' %pre-allocation y=zeros(size(A,1)*2,size(A,2)); y(1:2:end,:)=A; y(2:2:end,:)=A*10

ungefär 3 timmar ago | 1

| accepted

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

3 dagar ago

Solved

Determine if input is a perfect number

A perfect number occurs whent the sum of all divisors of a positive integer, except the number itself, equals the number. Examp...

3 dagar ago

Solved

String substitution, sub problem to cryptoMath

This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...

4 dagar ago

Solved

Calculate a modified Levenshtein distance between two strings

Inspired by the Cody problem found here. The Levenshtein distance is a charater-based string metric used to measure the differe...

4 dagar ago

Solved

Calculate the Levenshtein distance between two strings

This problem description is lifted from http://en.wikipedia.org/wiki/Levenshtein_distance. The Levenshtein distance between two...

4 dagar ago

apply if-else-statement to a 3D matrix

The syntax for comparing multiple conditions is individualistic in MATLAB, i.e. you have to write code for each condition indivi...

6 dagar ago | 0

| accepted

How i can concatenate the binary values of each two cell arrays into one binary value cell array?

as = {'1011','0001','0100','0110','1111','0111'}; str=strcat(as(1:2:end),as(2:2:end))

6 dagar ago | 0

| accepted

Invalid Array Indexing when trying to plot the function

You forgot operation signs in a few places ((O^(1-n))./(4^n*a*x*pi^(1-n)*p))*(d_i^(2*n+1)+2*a(2*n+1)(4*O./pi)^(n)*t)^((2*n-1)....

7 dagar ago | 1

Solved

Sum the unitary divisors of a number

Cody Problems 1933 and 46898 deal with , the sum of divisors function. This problem deals with , the sum of unitary divisors fun...

7 dagar ago

Solved

Count the unitary divisors of a number

Cody Problem 56738 asks for a list of the unitary divisors of a number. For this problem, write a function to count the unitary ...

7 dagar ago

Solved

List unitary divisors of a number

A unitary divisor of a number divides and satisfies gcd(,) = 1. For example, 9 is a unitary divisor of 18 because gcd(9,2) = ...

7 dagar ago

Solved

Cross ("+") flag returns

Given two numbers, [m, n], return a matrix of size m x n which has all elements of the centre column and centre row set as 1, an...

7 dagar ago

Solved

Rescale Scores

Each column (except last) of matrix X contains students' scores in a course assignment or a test. The last column has a weighted...

9 dagar ago

specific RGB color in plot3

A=randi(100,10,3); %Marker size 5 is a bit small for a good visual plot3(A(:,1), A(:,2), A(:,3), 'LineStyle', 'none', 'Marker'...

11 dagar ago | 0

| accepted

Solved

return row and column indices given 2 values which define a range

Inspired by problem http://www.mathworks.co.kr/matlabcentral/cody/problems/856-getting-the-indices-from-a-matrice Inputs: - matr...

11 dagar ago

Solved

Acid-Base Chemistry: Which side of the reaction is more favorable?

In an Acid-Base reaction, there is always going to be an acid, a base, a conjugate acid, and a conjugate base. When provided wit...

12 dagar ago

Solved

GJam March 2016 IOW: Cody's Jams

This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard GJam March 2016 Annual I/O for Women Co...

14 dagar ago

Solved

Basics - not so easy division

Please make a function whcih divides x/y, but pay attention for some exceptions with NaN,0,Inf. Sometimes return "ERROR" instead...

16 dagar ago

Error during integration after differentiation

When you declare x as a symbolic variable, g will defined a symbolic variable as well. And as the error states, integral3 requir...

18 dagar ago | 0

Solved

Exact Cover

An efficient solution to the exact cover problem can be useful in many situations. In this problem, you are welcome to use Knuth...

20 dagar ago

Solved

Cricket - You Miss, I Hit (Rank Bowlers by Proportion of Bowled and LBW Wickets)

Which bowlers threaten your stumps the most? Given a table of all wickets taken during some particular set of matches and two th...

20 dagar 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...

21 dagar ago

Solved

Compute the drag on a moving vehicle

We assume no rolling resistance, and the simple rule for Drag : , where is the density of the fluid (assumed at 1.2 ), is the ...

21 dagar ago

Solved

Remove Duplicates

Remove duplicates from the vector of integers and display in sorted order

21 dagar ago

Solved

Cricket - Represent Average in "Dulkars" and "Ses"

Sachin Tendulkar's Test average was 53.78. So if Tendulkar = 53.78, one dulkar = 5.378. Similarly, Roger Twose's average was 25....

21 dagar ago

Solved

Determine if vector has any zeroes

Return 1 if vector has atleast 1 zero, else return 0

21 dagar ago

Solved

Cricket - Average Partnership Contribution

The (infamous) Duckworth-Lewis method uses statistical models of how much each wicket partnership is worth to an innings (on ave...

21 dagar ago

Solved

Cricket - Is It LBW?

LBW has an unfair reputation as complicated. But if you've watched a third umpire referral, you'll know that it's just a logical...

22 dagar ago