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

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

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

26 days ago

Solved


Make a Plot with Functions
Make a plot and test

26 days 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,....

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

3 months ago

Solved


to the 2 all elements
to the 2 all elements

3 months ago

Solved


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

3 months ago

Solved


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

3 months ago

Solved


Draw a '0' in a one matrix!

3 months ago

Solved


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

3 months ago

Solved


Converts numbers into characters
Converts numbers into characters

3 months ago

Solved


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

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

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

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

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

2 years ago

Solved


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

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

2 years ago

Solved


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

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

2 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

Solved


How to Concatenate two strings?
How to Concatenate two strings?

3 years ago

Answered
Conversion of Simulink Model to previous version
Go to the Simulation Tab and do: Then, select the release version:

3 years ago | 0

| accepted

Answered
How can I install MinGW for use in a new version of MATLAB?
Go to the Add-Ons explorer and type mingw64. Then, proceed with downloading and installing the compiler.

3 years ago | 0

Answered
How to define the variables as 'Global variables' within a Matlab Function block in Stateflow?
A way to solve this question could be by: First, in the chart properties, set the "Export chart level functions" and "Treat exp...

3 years ago | 1

Solved


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

3 years ago

Answered
Can you use SIL/PIL on a combined MATLAB/Simulink model?
Hey Joshua, You can place your MATLAB code in a MATLAB function block. This block can be part of a Simulink model, and you can ...

3 years ago | 0

Load more