Solved


Refresh your system of equations
Given square matrix, and solution vector, find the values of the variables Example: xyz = [1 -1 2; 0 2 5; 4 0 -3]; //x-y+2...

10 years ago

Solved


Calculate 3D Distance
Given 2 vectors (1st is initial position, 2nd is the destination) calculate the distance in 3D Example in1 = [0 0 0] in2...

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

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

10 years ago

Solved


Calculate numerical integration.
x=0:0.01:1 y=x.^2 Calculate area from x=0 to x=1, and y=0 to y=x^2 using numerical integration. (hint: trapz)

10 years ago

Solved


tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...

10 years ago

Solved


Calculate triangle's hypotenuse
There are 634 eggs. A box can take 18 eggs. How many boxes are needed? Input is number of eggs and output is number of needed...

10 years ago

Solved


How to check matrix's size?
x=randi(100) y=randi(100) A=zeros(x,y) Can you measure size of matrix A?

10 years ago

Solved


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

10 years ago

Solved


Display positive elements of matrix.
Display positive elements of matrix.

10 years ago

Solved


Duplicate me
Repeat elements of vector input twice Ex: input = [1 2 3] output = [1 1 2 2 3 3]

10 years ago

Solved


how to round off a given number containing decimals?
how to round off a given number containing decimals?

10 years ago

Solved


HOW TO FIND SINGULAR VALUE OF A MATRIX?
HOW TO FIND SINGULAR VALUE OF A MATRIX?

10 years ago

Solved


how to find characteristic polynomial of a given matrix?
how to find characteristic polynomial of a given matrix?

10 years ago

Solved


How find minimum element of a column in matrix?
How find minimum element of a column in matrix?

10 years ago

Solved


How find sum of elements of each column in matrix?
How find sum of elements of each column in matrix?

10 years ago

Solved


How find maximum element of a column in matrix?
How find maximum element of a column in matrix?

10 years ago

Solved


Basic commands - logarithmically spaced vector
Make a function, which will give a vector: y=[ 0.01 0.1 1 10 ... 10^x];

10 years ago

Solved


Basic commands - Left division matrix
Please write a function which will left division of A,B Pay attention this is right division: A/B

10 years ago

Solved


Create square matrix filled with equal numbers.
Create square matrix filled with equal numbers; n - size,x - given number .Example x=2,n=2 [2 2 ; 2 2]

10 years ago

Solved


Set number x for diagonal of square matrix, which size is n.
Set number x for diagonal of square matrix, other values should be equlal 0, which size is n. Example n=2, x=4: [4 0; 0 4]

10 years ago

Solved


Create square matrix filled with ones.
Create square matrix filled with ones, of size x. Example [1 1; 1 1]

10 years ago

Solved


product of given two numbers?
product of given two numbers?

10 years ago

Solved


how to convert given text into all upper case letters?
how to convert given text into all upper case letters?

10 years ago

Solved


Calculate using 'for' statements
Equations are easily calculated using matlab. Especially, when we calculate multivariable(more than two) variables, "meshgrid" f...

10 years ago

Solved


Implement zero based indexing (Vectors only)
Given an input vector and position (which is zero based) output the value Example: x = [1 2 4 5] pos = 2 value = 4

10 years ago

Solved


Triplicate me
Given an input vector, output a 3n vector with all elements of input vector repeated thrice Example : in->[1 2 3 5] out...

10 years ago

Solved


Get Cody's screen size
Return an object that helps this problem's test suite return Cody's screen size.

10 years ago

Solved


Solve equation numerically
y'=y In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...

10 years ago

Solved


check string
display any string

10 years ago

Load more