Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


check string
display any string

alrededor de 10 años hace

Resuelto


Create square matrix from submatrices.
Create square matrix from 4 submatrices, where n-size of submatrices, x1,x2,x3,x4 given values, first submatrix has x1 value on ...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Vectors multiplication.
Multiply two vectors x transposed and y.Example x = [1 2 3 4 5 6 7 8 9 10 ] y = [ 1 2 ...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

alrededor de 10 años hace

Resuelto


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

alrededor de 10 años hace

Resuelto


Set x value to each even index of vector y.
Set x value to each even index of vector y.

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Сoncatenate two strings.
Сoncatenate two strings. Example s1='Hello' s2='world' result='Hello world'

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Compare two strings.
Compare two strings, whether they are equal or not.

alrededor de 10 años hace

Resuelto


Select primes from the matrix.
Select primes from the matrix.

alrededor de 10 años hace

Resuelto


Expand a term
Given a term, as a string, expand it. e. g. f = '2(x + y)';

alrededor de 10 años hace

Resuelto


x&u are two vectors then Y=x+u???
x&u are two vectors then Y=x+u???

alrededor de 10 años hace

Resuelto


Сoncatenate two strings into one
Concatenate two strings, become one strings Example: s1 = 'Hello' s2 = 'world' result = "Hello world "

alrededor de 10 años hace

Resuelto


Count given word x in text.
Count how many times given word x repeats in text.

alrededor de 10 años hace

Resuelto


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

alrededor de 10 años hace

Cargar más