Graduate student, Reseacher

Question

Add variable as input parameter in deep learning model

I am working on CNN model which increases pixel value of input image by x times. Here, the value of x is different for each pixe...

1 day ago | 0 answers | 0

Solved

Is A the inverse of B?

Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

1 day ago

Solved

Rotate Matrix @180 degree

Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

1 day ago

Solved

Calculate the average value of the elements in the array

Calculate the average value of the elements in the array

1 day ago

Solved

the average value of the elements

Calculate the average value of the elements in the array

1 day ago

Solved

Square the input

Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

5 months ago

Solved

Multiply by 3

Given the variable x as your input, multiply it by three and put the result in y.

5 months ago

Solved

Y=X

Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

5 months ago

Solved

Average Grade

Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

5 months ago

Solved

Calculate cosine without cos(x)

Solve cos(x). The use of the function cos() and sin() is not allowed.

5 months ago

Solved

Calculate sin(x) without sin(x)

Calculate y = sin(x) x = 0 -> y= 0 without the use of sin(x) or cos(x)

5 months ago

Solved

Moving average (variable kernel length)

Find the moving average in a vector. The kernel length is a variable. For example x = 1:10 kernel_length = 2 would r...

5 months ago

Solved

Vector push

Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...

5 months ago

Solved

Vector pop

Take |n| elements from the end of the vector |v| and return both the shorten vector |v| and the |n| elements in a separate vecto...

5 months ago

Solved

Product of Each Column

Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...

5 months ago

Solved

Magic is simple (for beginners)

Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

5 months ago

Solved

"mirror" matrix

Create n x 2n "mirror" matrix of this type: Examples For n = 2 m = [ 1 2 2 1 1 2 2 1 ] For n = 3 m = ...

5 months ago

Solved

Create a Multiplication table matrix...

Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

5 months ago

Solved

Additive persistence

Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...

5 months ago

Solved

Reverse Calculator

Use this reverse calculator and give correct output Its simple, In my Reverse calculator if you press 0 it will be considered...

5 months ago

Solved

7 segment LED display

Given a whole number, output how many segments would be lit up to display it on a 7 segment LED display (see Wikipedia: <http://...

5 months ago