Community Profile

# Sujin Choi

50 total contributions since 2016

View details...

Contributions in
View by

Solved

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

circa 4 anni ago

Solved

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

circa 4 anni 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)...

circa 4 anni 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....

circa 4 anni ago

Solved

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

circa 4 anni ago

Solved

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

circa 4 anni 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]

circa 4 anni ago

Solved

Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

circa 4 anni 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].

circa 4 anni ago

Solved

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

circa 4 anni ago

Solved

How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

circa 4 anni 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

circa 4 anni ago

Solved

Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

circa 4 anni ago

Solved

Calculate inverse matrix in m by n matrix
x=(1:10)' y=roundn(2*x+7*rand(size(x)),-1) a*x=y Estimate a using inverse matrix calculation. This is principle of li...

circa 4 anni 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); ...

circa 4 anni 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 ...

circa 4 anni 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,...

circa 4 anni 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.

circa 4 anni ago

Solved

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

circa 4 anni 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...

circa 4 anni 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 ...

circa 4 anni 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'...

circa 4 anni 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,...

circa 4 anni 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 ...

circa 4 anni 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...

circa 4 anni 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+...

circa 4 anni 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.

circa 4 anni 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...

circa 4 anni 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...

circa 4 anni ago

Solved

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

circa 4 anni ago