Senior Training Engineer. Primary areas of instructions include modeling and simulation, verification and validation, code generation, stateflow, signal processing.

Answered

How to control Inputs in Test Manager

Hey, The following link shows an example of how to add excel data to Inputs selection https://www.mathworks.com/help/releases/...

How to control Inputs in Test Manager

Hey, The following link shows an example of how to add excel data to Inputs selection https://www.mathworks.com/help/releases/...

3 months ago | 0

Solved

Add the positive numbers

Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

4 months ago

Solved

Replace all odd numbers with NaN

Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

4 months ago

Solved

Transpose the Matrix

Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

4 months ago

Solved

Calculate Resistance 2

In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

4 months ago

Solved

Times 5

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

4 months ago

Solved

Times 10

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

4 months ago

Solved

Flipping a Matrix

Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

4 months ago

Solved

Display negative numbers

Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

4 months ago

Solved

Back to Basics - Find no. of elements in a matrix?

Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

4 months ago

Solved

Element by element multiplication of two vectors

Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

4 months ago

Solved

create a square matrix

create a [n*n] matrix. example: mat(4)= [ 1 4 9 16 4 4 9 16 9 9 ...

4 months ago

Solved

Rankine to Celsius Converter

Given input R, degrees Rankine, convert into degrees Celsius.

4 months ago