**Programming Languages:**

MATLAB

**Spoken Languages:**

English

**Statistics**

RANK**182**

of 262.864

REPUTATION**536**

CONTRIBUTIONS

**6** Questions

**145** Answers

ANSWER ACCEPTANCE **
83.33%
**

VOTES RECEIVED**130**

RANK**11.610** of 17.993

REPUTATION**29**

AVERAGE RATING**5.00**

CONTRIBUTIONS**1** File

DOWNLOADS **9**

ALL TIME DOWNLOADS**243**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Nth Order Polynomial Regression

Inputs: -two vectors x and y (row or column) -order of polynomial, p Outputs: -vector of coefficients [b0 b...

ongeveer 4 uur ago

Create a structure of a field in the workspace

You are overwriting numeric values (double precision) with struct values. That is not allowed and hence the error. If all your ...

ongeveer 6 uur ago | 0

Calculating roots of an equation in Matlab.

Some slight tweaks I used vpasolve cause symbolic solver will give an error and will return the answer using vpasolve only. De...

ongeveer 17 uur ago | 0

| accepted

Solved

Sort Non-zeros

Consider 0s in a vector creates a break-point. sort all the sub-arrays created by those break points. For example, a = [3, 4, 1...

ongeveer 18 uur ago

Solved

Chain multiplication - 01

Say, you are given two matrices - A (shape= 3*4) and B(shape = 4*5). If you multiply these two matrices, the resultant matrix w...

ongeveer 23 uur ago

Solved

Multiply binary numbers

Write a function to multiply two binary numbers input as strings. For example, input values of ‘1011’ and ‘101’ should give ’110...

1 dag ago

Solved

Nuemann Polynomials

Return the coefficients of nth (n>=0) Nuemann polynomial, (a sequence in 1/t) as polynomials in alpha. The expected output is a...

1 dag ago

Solved

Number of leaps in binary search

Binary search is one of the most popular searching algorithms (Binary Search Algorithm). It works only in a sorted array. It uti...

2 dagen ago

Solved

Bang Bang in Bangalore

Imagine a strange language disorder, Bangolangosis, has developed among trigonometricians of <http://en.wikipedia.org/wiki/Banga...

2 dagen ago

Solved

Fill-a-pix - Solution Checker

<http://www.conceptispuzzles.com/index.aspx?uri=puzzle/fill-a-pix/rules Fill-a-pix> is a logic puzzle game similar to Pic-a-Pix ...

4 dagen ago

Solved

Tic Tac Toe Solver

Create a function that checks n number of tic tac toe boards housed in a 3x3xn matrix where the x's are represented as 1's (and ...

4 dagen ago

Solved

Geometry: Find Circle given 3 Non-Colinear Points

*This Challenge is to determine the center and radius of a circle given three non-colinear points.* *Input:* Points *Outpu...

4 dagen ago

Solved

Minimum Distance Point to Segment

This Challenge is to determine the minimum distance from a 2-D line segment defined by two points to a point. The point is (p...

4 dagen ago

Solved

Spiral Out - 02

An array is given. Convert it into a spiral matrix. For example, a=1:27; out=[21 22 23 24 25 26 20 ...

4 dagen ago

Solved

English to Pig Latin Translator

Pig latin is a faux-language based off of English. The rules are as follows (excerpted from the wikipedia entry for Pig Latin): ...

5 dagen ago

Solved

Compress strings (not springs)

Please remove excess space, limit one space between others, and no space before punctuation marks. * For example, 'Trendy , ...

5 dagen ago

Please how to give different color for each plot for this case

One way is to use rand. Colors here will be choosen randomly x = [-2:0.1:2]; a = [.5, 1, 1.3, 1.95]; figure; for i=1:length(...

7 dagen ago | 1

Solved

Pandigital number n°2 (Inspired by Project Euler 32)

After Problem 2319. An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE. For example, the 5-...

7 dagen ago

Add and subtract matrix element consecutively

What you are doing in a loop, can be done via element-wise multiplication as well. You can make an array for the corresponding ...

8 dagen ago | 0

Solved

Given two arrays, find the maximum overlap

Given two arrays s1 and s2, create a new array s3 which is as short as possible and contains both arrays. If s1 = [1 2 3 4 5]...

8 dagen ago

Solved

Apply Function to Each Field of a Structure Array: Part 2

The builtin <http://www.mathworks.com/help/matlab/ref/structfun.html?=structfun structfun> applies a function handle to each fie...

10 dagen ago

Solved

Apply Function to Each Field of a Structure Array: Part 1

The builtin <http://www.mathworks.com/help/matlab/ref/structfun.html?=structfun structfun> applies a function handle to each fie...

10 dagen ago

Solved

Identify Reachable Points

Given a vector of 2-D Points and a vector of 2-D Deltas create an array of all Locations that can be reached from the points usi...

12 dagen ago

Solved

Momentum Calculation

A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

12 dagen ago

Solved

Monty Python and the Holy Grail: Crossing the Bridge of Death

To cross the Bridge of Death, your function must return the numerical value for the airspeed velocity of an unladen swallow

12 dagen ago

How to determine outside perimeter of an array?

Note - a_perim vector doesn't correspond to the outer elements of a in the example you mentioned. Here's how you can achieve th...

13 dagen ago | 1

| accepted

Solved

Parcel Routing

Given a matrix that represent the distance along highways between major cities numbered 1 to _N_, provide the path and shortest ...

13 dagen ago

Solved

Length of shortest path in a directed graph.

Given a directed graph and a start and end node in the graph, return the minimum number of hops required to reach the end node f...

13 dagen ago

Solved

Draw a X

Given an input , create a square matrix of zeros with an X of ones. Ex. n = 3 drawX(3) [ 1 0 1 0 1 0 1 0 1 ] ...

13 dagen ago

Solved

Draw a triangle of ones

For any given n, return a matrix that includes a triangle of ones of height n: Example n = 3 output = [0,0,1,0,0 ...

13 dagen ago