Solved


Calculate BMI
Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: 1 kilogram = 2.2 pounds 1 inch = 2...

8 months ago

Solved


Find MPG of Lightest Cars
The file cars.mat contains a table named cars with variables Model, MPG, Horsepower, Weight, and Acceleration for several classi...

8 months ago

Solved


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

8 months ago

Solved


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

8 months ago

Solved


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

8 months ago

Solved


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

8 months ago

Solved


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

8 months ago

Solved


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

8 months ago

Solved


Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

8 months ago

Solved


Make a Plot with Functions
Make a plot and test

8 months ago

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

10 months ago

Solved


Průměr z výběrového souboru
Napište funkci, která vrátí průměr z hodnot vektoru data. Např data = [1, 2, 3, 4, 5, 6, 7, 8, 9] je prumer = 5.

10 months ago

Solved


to the 2 all elements
to the 2 all elements

10 months ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

10 months ago

Solved


Double all elements in the array
Duplicate all elements in the array

10 months ago

Solved


Draw a '0' in a one matrix!

10 months ago

Solved


calculate the length of matrix
input 1 array, calculate the length

10 months ago

Solved


Converts numbers into characters
Converts numbers into characters

10 months ago

Solved


Find the max element of the array
Find the max element of the array

10 months ago

Answered
How to avoid duplicate functions in generated code with embedded coder?
The get the most out of the reusability, the blocks you want to use the reusability feature should be identical copies.

1 year ago | 0

Solved


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

2 years ago

Solved


Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...

2 years ago

Answered
I have probleme in simulation could you help me
I see that the Fcn block highlighted in yellow (giving the error message) is part of a closed-loop, where in order to get a resu...

3 years ago | 0

Answered
In Simulink, how can I put the signal line on the lateral side of add block?
Using the Sum block, double-click on it and you can set the "List of signs" with a combination of verticla lines and pluses, for...

3 years ago | 0

Solved


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

3 years ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

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

3 years ago

Solved


Fixed-Point Iteration
Perform fixed-point iteration to estimate the root of a nonlinear equation.

3 years ago

Solved


Polynomial division
Divide a polynomial u by polynomial v and return the quotients only. Example: u = x^4+3*x^3+5*x+3 v = x^2+1 Answer: ...

3 years ago

Answered
How can I plot the frequency response of the equation below using MATLAB?
Hi Victor, Please try: tf1 = tf([2e9],[10 1]); tf2 = tf(1, [100e3 2e9]); mytf = tf1*tf2; bode(mytf) where each vector in...

3 years ago | 0

Load more