Solved


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

10 years ago

Solved


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

10 years ago

Solved


Adding each element
Add the each element of the matrix.

10 years ago

Solved


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

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


N-plicate me
Modified version of duplicate and triplicate me. Repeat elements of input vector with given input n Ex: input = [1 2 3 4 5...

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


Square of the sum of optimus
Get the square of the sum of all primes given the limit input x

10 years ago

Solved


Sum of the squares of optimus
Get the sum of the squares of primes given limit input x Ex. x = 10, output = 2^2 + 3^2 + 5^2 + 7^2

10 years ago

Solved


Check that given number is 3*n
Check that input of multiple of three (3*n). if given number is included in 3*n, print true. (hint: use mod)

10 years ago

Solved


Calculate representive values (max. min. std)
A B C -------------------------- t=1 2.2 2.6 2.4 t=2 2.4 2.8 2.2 t=3 2.6 2.7 2....

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 sum of elements of each column in matrix?
How find sum of elements of each column in 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 maximum element of a column in matrix?
How find maximum element of a column in matrix?

10 years ago

Solved


How to find average of each column ?
How to find average of each column for a given matrix?

10 years ago

Solved


how to find diagonal elements of a matrix?
how to find diagonal elements of a 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


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


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

10 years ago

Solved


check string
display any string

10 years ago

Solved


Ceil Me Now
Get the ceiling of the input matrix

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


Calculate correlation.
There are two data. y1=[0 1 2 3 4]' y2=[2 3 4 5 6]' We can see positive relationship between y1 and y2. The relations...

10 years ago

Solved


Make roundn function
Make roundn function. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) y=0.56 ...

10 years ago

Solved


Weighted moving average
x1=[1 2 1]; y1=[1 2 2 4 5 6 6 8]; Make function for weighted moving average. z(i)=(x1(i)*y1(i)+x1(i+1)*y1(i+1)+x1(i+2)*y1...

10 years ago

Solved


Replace x value into y value in string text.
Replace x value into y value in string text. Example text='Hello World' x='World', y='Universe' result='Hello Universe'.

10 years ago

Load more