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

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

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

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

casi 10 años hace

Resuelto


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)

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

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

casi 10 años hace

Resuelto


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

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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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]

casi 10 años hace

Resuelto


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]

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


check string
display any string

casi 10 años hace

Cargar más