Community Profile

photo

Sujin Choi


Attivo dal 2016

Followers: 0   Following: 0

Statistiche

  • First Review
  • Promoter
  • Speed Demon
  • Solver

Visualizza badge

Feeds

Visto da

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


Calculate gradient
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)...

oltre 7 anni fa

Risolto


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....

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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 ...

oltre 7 anni fa

Risolto


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].

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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...

oltre 7 anni fa

Risolto


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...

oltre 7 anni fa

Risolto


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); ...

oltre 7 anni fa

Risolto


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 ...

oltre 7 anni fa

Risolto


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,...

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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...

oltre 7 anni fa

Risolto


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 ...

oltre 7 anni fa

Risolto


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'...

oltre 7 anni fa

Risolto


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,...

oltre 7 anni fa

Risolto


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 ...

oltre 7 anni fa

Risolto


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...

oltre 7 anni fa

Risolto


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+...

oltre 7 anni fa

Risolto


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.

oltre 7 anni fa

Risolto


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...

oltre 7 anni fa

Risolto


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...

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Carica altro