**Programming Languages:**

C

**Spoken Languages:**

Hindi

**Statistics**

RANK**349**

of 247,406

REPUTATION**186**

CONTRIBUTIONS

**4** Questions

**44** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**46**

RANK**13,934** of 17,240

REPUTATION**9**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **24**

ALL TIME DOWNLOADS**93**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Outer product of multiple vectors

In tensor algebra, it is often useful to define a tensor as a product of lower order tensors. Similarly, a multidimensional arra...

2 days ago

Using forloop and whileloop to find if a number has appeared repetitively

You can also use groupsummary but since you mentioned loops, here a way with for loop - Since the size of the groups differ, i...

8 days ago | 0

| accepted

Coordinates of each rectangular cell is required

You are defining C1X1 incorrectly (trying to fit 4 elements as 1) - x=zeros(1,5)+5; y=linspace(4,16,5); xx=x'; yy=y'; [XX,...

9 days ago | 1

| accepted

How do I create a function for returning a figure?

Example (replace data and labels accordingly) function y %xdata x=0:0.1:50; %ydata y=sin(x); figure(1) %initiate a figure ...

9 days ago | 1

Solved

Usage of java.math : N Choose K with unlimited precision

Calculate the binomial coefficient nchoosek with full accuracy. This challenge may use the wonderful word of java.math that allo...

9 days ago

Solved

Usage of java.math : Add, Multiply, Pow

This challenge is an introduction to the wonderful word of java.math that allows unlimited precision calculations. The primary ...

9 days ago

Solved

Infinite precision division

Develop a function that will divide a very very large integer numerator, supplied to function as a string (e.g., '12233344445555...

9 days ago

Solved

How to multiply?

Imagine you are in 3012 Anno Domini, when everyone must learn how to multiply, and competing for the highly prestigious post of...

10 days ago

Solved

How to add?

* Imagine you are in 2222 Anno Domini, when everyone must learn how to add, * and competing for the highly prestigious post of,...

10 days ago

Solved

Community Problem 500!

In honor of this being the 500th Community problem, see if you can create a function that has a Cody size of 500. It can do anyt...

10 days ago

Find the polynomial expression given the following factors:

It is correct. syms x expand((x+3)*(x-2)*(x+2)*(x+4)) You can also use sym2poly if you have the symbolic toolbox to convert ...

12 days ago | 1

| accepted

Splitting an array by the value

y = [9 9 6 4 4 7 9 9 9 9 9 9 9 7 7 5 7 7 9 9 9 9 9]; att = [95.4508 85.2212 97.6083 99.3070 99.9607 99.5018 99.4400 97.4173 99....

13 days ago | 1

| accepted

two variables one equation 3D plot

I have modified your code - clc;clear eL=0; eR=0; gammaL=-2; ...

13 days ago | 1

| accepted

Vectors as a function

syms x y z t r x=cos(t); y=log(t+2); z=t; r=[x y z]; sol=[1 log(sym(2)) 0]; arrayfun(@(k) solve(eq(r(k),sol(k)),t), 1:nume...

13 days ago | 1

| accepted

Solved

Give me Hamming on five, hold the mayo

A Hamming Number is a positive number that has no prime factor greater than 5. Given a number X, determine how many Hamming num...

13 days ago

Solved

Van Eck's Sequence's nth member

Return the Van Eck's Sequence's nth member. For detailed info : <http://oeis.org/A181391 OEIS link> and <https://www.theguard...

13 days ago

Solved

Read a column of numbers and interpolate missing data

Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

14 days ago

Solved

Sums of Distinct Powers

You will be given three numbers: base, nstart, and nend. Write a MATLAB script that will compute the sum of a sequence of both ...

14 days ago

Solved

Why the heck are they blinking!?!?

Merry Christmas everyone! Sadly, the lights you've had on your tree for so many years burned out, and it's time to get a new se...

15 days ago

Solved

Remove entire row and column in the matrix containing the input values

Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

15 days ago

Solved

Convert matrix to 3D array of triangular matrices

Given a 2D numeric array x in which each column represents the vectorized form of an upper triangular matrix, return a 3D array ...

15 days ago

Solved

Hankelize a matrix

Similar to <http://www.mathworks.com/matlabcentral/cody/problems/42501-toeplitize-a-matrix Problem 42501. Toeplitize a matrix>, ...

15 days ago

Solved

Find offset of an element of a multi dimensional matrix

For a given multi dimensional matrix and given element, find its offset from the 1st element. Return 0, if element is not fo...

16 days ago

Solved

Free Fall analytical solution (Chapra 2012 textbook Example 1.1)

Analytical solution to bungee jumper problem. Given time series as a vector, parameters mass and drag coefficient, and gravit...

16 days ago

Solved

The other half of the Fibonacci sequence

The <http://mathworld.wolfram.com/FibonacciNumber.html "Fibonacci sequence"> — F = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,...

18 days ago

Solved

Reassign cell contents to empty variables, preserving cell content data type

Given a cell array C, return a cell array D with the following specifications: 1. D has the same size as the input C. 2. E...

20 days ago