Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


Make a Plot with Functions
Make a plot and test

alrededor de 1 mes hace

Resuelto


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 meses hace

Resuelto


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 meses hace

Resuelto


to the 2 all elements
to the 2 all elements

3 meses hace

Resuelto


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

3 meses hace

Resuelto


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

3 meses hace

Resuelto


Draw a '0' in a one matrix!

3 meses hace

Resuelto


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

3 meses hace

Resuelto


Converts numbers into characters
Converts numbers into characters

3 meses hace

Resuelto


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

3 meses hace

Respondida
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 meses hace | 0

Resuelto


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

casi 2 años hace

Resuelto


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

casi 2 años hace

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

más de 2 años hace | 0

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

más de 2 años hace | 0

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


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

más de 2 años hace

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

casi 3 años hace | 0

Resuelto


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

casi 3 años hace

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

casi 3 años hace | 0

| aceptada

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

casi 3 años hace | 0

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

casi 3 años hace | 1

Resuelto


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

casi 3 años hace

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

casi 3 años hace | 0

Cargar más