Graduate student, Reseacher

Solved

Reindex a vector

You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX has integers. Place th...

1 month ago

Solved

Beginner's Problem - Squaring

Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

1 month ago

Solved

02 - Vector Variables 2

Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

1 month ago

Solved

02 - Vector Variables 3

Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

1 month ago

Solved

Area of a Square

Inside a square is a circle with radius r. What is the area of the square?

1 month ago

Solved

Back to basics 15 - classes

Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

1 month ago

Solved

If-then-else

Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

1 month ago

Solved

Divide by 4

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

1 month ago

Solved

Television Screen Dimensions

Given a width to height ratio of a TV screen given as _w_ and _h_ as well as the diagonal length of the television _l_, return t...

1 month ago

Solved

Check if equal

Return true if all the elements of an nD array are equal, false otherwise.

1 month ago

Solved

Given a matrix, swap the 2nd & 3rd columns

If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

1 month ago

Solved

Is My Wife Wrong?

Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

1 month ago

Question

Error in 'trainNetwork' (line 141) for multi-input and single output CNN model

Hi, I am working on a CNN model with 2 images as input and single image as output. The code for training is as follows: traine...

1 month ago | 0 answers | 0

Answered

How can I give multiple input image frames in CNN ?

You may check the link: https://www.mathworks.com/help/deeplearning/ug/multiple-input-and-multiple-output-networks.html

How can I give multiple input image frames in CNN ?

You may check the link: https://www.mathworks.com/help/deeplearning/ug/multiple-input-and-multiple-output-networks.html

1 month ago | 0

Solved

How long do each of the stages of the rocket take to burn?

A space rocket has 3 stages: - stage 1, s1; - stage 2, s2; - stage 3, s3. If s1 burns 3 x as long as s2 which burns ...

2 months ago

Solved

Electrical Diode Current Calculation

In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...

2 months ago

Solved

An Ohm's Law Calculator

*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

2 months ago

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

2 months ago | 1 answer | 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...

2 months 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;...

2 months ago

Solved

Calculate the average value of the elements in the array

Calculate the average value of the elements in the array

2 months ago