A résolu


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

29 jours il y a

A résolu


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

29 jours il y a

A résolu


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

29 jours il y a

A résolu


Make a Plot with Functions
Make a plot and test

29 jours il y a

A résolu


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 mois il y a

A résolu


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 mois il y a

A résolu


to the 2 all elements
to the 2 all elements

3 mois il y a

A résolu


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

3 mois il y a

A résolu


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

3 mois il y a

A résolu


Draw a '0' in a one matrix!

3 mois il y a

A résolu


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

3 mois il y a

A résolu


Converts numbers into characters
Converts numbers into characters

3 mois il y a

A résolu


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

3 mois il y a

Réponse apportée
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 mois il y a | 0

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

Réponse apportée
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...

presque 3 ans il y a | 0

A résolu


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

presque 3 ans il y a

Réponse apportée
Conversion of Simulink Model to previous version
Go to the Simulation Tab and do: Then, select the release version:

presque 3 ans il y a | 0

| A accepté

Réponse apportée
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.

presque 3 ans il y a | 0

Réponse apportée
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...

presque 3 ans il y a | 1

A résolu


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

presque 3 ans il y a

Réponse apportée
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 ...

presque 3 ans il y a | 0

Charger plus