# Wei-Rong Chen

### Haskins Laboratories

My research has focused on speech production and perceptoin.

**Statistics**

RANK**9,787**

of 271,671

REPUTATION**4**

CONTRIBUTIONS

**1** Question

**1** Answer

ANSWER ACCEPTANCE **
0.0%
**

VOTES RECEIVED**0**

RANK**2,078** of 18,322

REPUTATION**811**

AVERAGE RATING**3.70**

CONTRIBUTIONS**18** Files

DOWNLOADS **97**

ALL TIME DOWNLOADS**7360**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

The Piggy Bank Problem

Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

1 year ago

Question

Compiled app from App Designer can't recognize 'DAGNetwork'.

I trained a U-Net model using 'unetLayers.m' and tried to read this model from an Matlab App. It works fine with Matlab App bu...

1 year ago | 0 answers | 0

### 0

answersSubmitted

Align Wave

Time-align two wave signals by shifting wav2 to be aligned with wav1, using cross correlation.

1 year ago | 3 downloads |

Submitted

RenameVar(matFName, originalVarName, newVarName)

Rename variable(s) in mat file

1 year ago | 2 downloads |

Submitted

RunRcode(RscriptFileName,Rpath)

This function calls R to run R script (.r file) under Matlab

5 years ago | 62 downloads |

Solved

How to subtract?

* Imagine you need to subtract one number from another using MATLAB. * You will not be using eval for this task. * Given two A...

5 years ago

I want to read this text file from Matlab directly and want to import data of all columns into work space in an array.

It will be much easier if you use 'readtable' function. For example: dataTable = readtable('1.txt','Delimiter',your_del...

6 years ago | 0

Solved

Chicken race

2 chickens, Pete and Fred, compete in a 100 meter race. Pete runs at a velocity of vp meter/second and Fred is slower, running ...

6 years ago

Submitted

Z-score-normalized euclidean distances

Compute normalized euclidean distance between two arrays [m (points) x n (features)]

6 years ago | 2 downloads |

Solved

Column norms of a matrix

Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

7 years ago

Submitted

mutualinfo(x, y,nBins, ifplot)

This function calculates the mutual information of X and Y

7 years ago | 3 downloads |

Solved

Add two numbers

Calculate the sum of two numbers. Example input = [2 3] output = 5

7 years ago

Solved

Triangle sequence

A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

7 years ago

Solved

Side of a rhombus

If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

7 years ago

Solved

Side of an equilateral triangle

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

7 years ago

Solved

Find a Pythagorean triple

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

7 years ago

Solved

Dimensions of a rectangle

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

7 years ago

Solved

Is this triangle right-angled?

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

7 years ago

Solved

Area of an equilateral triangle

Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

7 years ago

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

7 years ago

Solved

Is this triangle right-angled?

Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

7 years ago

Solved

Back to basics 12 - Input Arguments

Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

7 years ago

Solved

Remove NaN ?

input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

7 years ago

Solved

Determine Whether an array is empty

Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

7 years ago

Solved

Multiply a column by a row

* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

7 years ago

Solved

Area of an Isoceles Triangle

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

7 years ago

Solved

Binary numbers

Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

7 years ago

Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

7 years ago

Solved

Back to basics 11 - Max Integer

Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

7 years ago