Answered
Simulink simulation too slow
Hey Fadi, There are several reasons that can slow down your simulation. Here I include few possible causes: Speed Up Simulatio...

3 years ago | 0

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

3 years ago | 0

Solved


divide by 5

3 years ago

Solved


Mile to Kilometer
x is mile and y is km

3 years ago

Solved


Magnitude of a vector
Given a vector x, what is its magnitude?

3 years ago

Solved


Find square of given number
Find Square of any number

3 years ago

Solved


Volume of Cylinder
Find the volume of a cylinder

3 years ago

Solved


square of a number
find square of a given number

3 years ago

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

3 years ago

Solved


easy problem
Find the last element of the array

3 years ago

Solved


Calculate the area of a circle
Given a circle of diameter x calculate its area

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

3 years ago

Solved


subtraction of two nos
given a and b, subtract and give the answer

3 years ago

Solved


lb to kilogram
convert lb to kilogram units, easy

3 years ago

Solved


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

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

3 years ago

Solved


Divide pi
Divide pi by x!

3 years ago

Solved


square root
Find square root of given number

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

3 years 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:...

3 years ago

Solved


Multiply pi
Multiply pi with x!

3 years ago

Solved


Square root of number
Square root of given number.

3 years ago

Solved


row removal
Consider a matrix and remove the first row of the matrix.

3 years ago

Solved


Hardy-Ramanujan number
Find the first Hardy-Ramanujan number.

3 years 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) ...

3 years 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].

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

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

3 years ago

Solved


Calculate the volume of the cube.
Example n = 3; a = volume(n); a = 27

3 years ago

Solved


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

3 years ago

Load more