Community Profile

# Joung-Wook Shin

##### Last seen: 3 Monate ago
53 total contributions since 2016

#### Joung-Wook Shin's Badges

View details...

Contributions in
View by

Solved

Print true if (2)
There are 0. a=[1 2 3 4 0]; b=[1 1 1 1 1]; function(a) is true, and function(b) is false.

fast 4 Jahre ago

Solved

Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

fast 4 Jahre ago

Solved

Calculate determinent
Calculate determinent of given matrix A=[2 4;3 5]; function(A) Output should be -2

fast 4 Jahre ago

Solved

Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

fast 4 Jahre ago

Solved

Conduct inner product using given matrix
a=[1 2 3]; b=[3 4 5]; y=function(a,b) Output y should be 26

fast 4 Jahre ago

Solved

Calculate cross product
Make function for cross product a=[1 3 2]; b=[2 4 1]; y=function(a,b) y=[-5 3 -2]

fast 4 Jahre ago

Solved

Make random permutation
Make random permutation that consist of random number from 1 to n.

fast 4 Jahre ago

Solved

Solve the system of linear equations
4x - 2y +6z=8 2x + 8y +2z=4 6x + 10y +3z=0 Find x,y,z. Output should be a=[x;y;z].

fast 4 Jahre ago

Solved

Where is 1?
There is a 3d matrix [A] that consist of many zeros and only one. A=zeros(100,100,100); i=randi(100); j=randi(100); ...

fast 4 Jahre ago

Solved

x=1:0.1:5; y=x.^2; calculate gradient (dy/dx) using numerical method. This means dydx(i)=(y(i+1)-y(i))/(x(i+1)-x(i)...

fast 4 Jahre ago

Solved

Extrack values in 2-dimensional data
There are data c at (x,y) x=1:10;y=1:10; [x,y]=meshgrid(x,y) c=exp(sqrt(x.^2+y.^2)) Estinate data c at (x=5.4,y=7....

fast 4 Jahre ago

Solved

Calculate geostrophic current
eta0=0.01; R=300; f=0.01; g=9.81; x=-500:50:500; y=-500:50:500; [x y]=meshgrid(x,y); eta=eta0*exp(-(x.^2+...

fast 4 Jahre ago

Solved

Resort number using given index!
Resort matrix [a] using given index [b]. For example, if a=[2 5 3 5]; b=[4 1 2 3]; , the result is [5 2 5 3]. (hint: y...

fast 4 Jahre ago

Solved

Calculate temperature of object
An object that have initial temperature T0 is in a room that has temperature Ts. The object's temperature in time t is T=Ts+(...

fast 4 Jahre ago

Solved

Calculate this one!
Using matlab calculate y y=(e^2)+100/20+sin(pi)

fast 4 Jahre ago

Solved

Interpolate data!
There are two data that observed at two different location. x indicate position, d indicate value of data. x=[1 10] d=[2 ...

fast 4 Jahre ago

Solved

Determine point is located in a circle or not
Using input [x] and [y], determine the points (x,y) is located inside of circle (x^2+y^2=1) if point is located in circle,...

fast 4 Jahre ago

Solved

Make equation that can express relationship!
Observed data [y] that vary with [x]. Unfortunately, [y] including small amount of errors. x=[1 2 3 4 5 6] y=[2.16 4.97 ...

fast 4 Jahre ago

Solved

How to permute given 3d matrix?
A(:,:,1)=[1 3] A(:,:,2)=[2 2] A(:,:,3)=[4 3] Change rows to columns and columns to rows, similar to transpose. Resul...

fast 4 Jahre ago

Solved

Change coordinate from Cartesian to spherical coordinates.
[x,y,z] -> [t,p,r] [x,y,z] is a point in the Cartesian coordinates. change its coordinate to spherical (t,p,r), t is azimuth,...

fast 4 Jahre ago

Solved

Create given matrix
y = 0 0 1 1 0 0 0 0 1 1 0 0 1 1 1 1 1 1 ...

fast 4 Jahre ago

Solved

Find peaks
x=0:0.1:10 y=exp(-0.7*(x-2).^2)+0.5*exp(-0.7*(x-7).^2) There are two peaks.(try plot(x,y)) Make code for finding peaks'...

fast 4 Jahre ago

Solved

Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

fast 4 Jahre ago

Solved

Make 3d matrix from other matrix
A=[1 1;2 2]; B=[2 2;3 3]; C=[0 0;1 3]; Using given three matrix, make 3 dimensional matrix [D] by stacking.

fast 4 Jahre ago

Solved

Calculate circle's property
[A R]=function(r) r is radius, A is area of circles, R is circumference.

fast 4 Jahre ago

Solved

Removing vibration!
There are [y] that vary with [x] but y including small useless vibration. x=1:10 y=[1.71 2.03 3.28 4.05 5.10 6.82 7.69 8.3...

fast 4 Jahre ago

Solved

Extract area
There are observed data c and its location (x,y) x=1:0.1:10 y=1:0.1:10 [x,y]=meshgrid(x,y) c=x.^2+y.^2 Extract data c i...

fast 4 Jahre ago

Solved

Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area.

fast 4 Jahre ago

Solved

Calculate z=x^2+y^2
There are z in (x,y). x=1:10;y=1:10 [x y]=meshgrid(x,y) Calculate x^2+y^2.

fast 4 Jahre ago

Solved

Calculate inverse matrix in square matrix
A=eye(3) Calculate inverse matrix of given input. B=function(A) ans = 1 0 0 0 1 0 ...

fast 4 Jahre ago