Community Profile

SANGWOO CHANG

Active since 2016

Content Feed

View by

Solved

MPH to MPS
Given mps, find the speed in miles per hour.

4 years ago

Solved

Rankine to Celsius Converter
Given input R, rankine, convert into degrees Celsius.

4 years ago

Solved

Multiply a vector
Multiply a vector

4 years ago

Solved

Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

4 years ago

Solved

Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

4 years ago

Solved

Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

4 years ago

Solved

Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...

4 years ago

Solved

Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

4 years ago

Solved

Reindex a vector
You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX has integers. Place th...

4 years ago

Solved

First
Square the input

4 years ago

Solved

replace component
given vector x make new vector with x(3)=3

5 years ago

Solved

Double down!
Let's double the 'x'

5 years ago

Solved

divide 2
dividing 2

5 years ago

Solved

square
square

5 years ago

Solved

5 years ago

Solved

If given x=3, The answer is 2

5 years ago

Solved

multiply 3 by 3
x=3 y=3*x

5 years ago

Solved

only multiply 1230
only multiply 1230

5 years ago

Solved

multiply 10
just multiply 10

5 years ago

Solved

just multiply 100
just multiply

5 years ago

Solved

Triple Down!
Triple Down!

5 years ago

Solved

just solved
solved given x answer y must be x+2*3/6

5 years ago

Solved

5 years ago

Solved

sum of all
sum all of components

5 years ago

Solved

5 years ago

Solved

5 years ago

Solved

5 years ago

Solved

5 years ago

Solved

Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

5 years ago

Solved

Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

5 years ago