# Jesús Zambrano

### MathWorks

Senior Training Engineer. Primary areas of instructions include modeling and simulation, verification and validation, code generation, stateflow, signal processing.

**Statistics**

RANK**357**

of 244,437

REPUTATION**180**

CONTRIBUTIONS

**1** Question

**146** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**22**

RANK

of 17,076

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

20 days ago | 0

Conversion of Simulink Model to previous version

Go to the Simulation Tab and do: Then, select the release version:

22 days ago | 0

| accepted

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.

22 days ago | 0

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

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

1 month ago

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

2 months ago | 0

Least-Squares FIR Filter Design

Hey Ori, Please find different examples of how to design and apply digital filters in the following link to the documentation ...

2 months ago | 1

Solved

Cody Matlab Version

What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

2 months ago

Solved

Small Riddle

Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?

2 months ago

Solved

Average Grade

Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

2 months ago

Solved

Sum of logarithms

Given a vector, v, of real positive numbers, compute the sum, s, of the base-10 logarithms of the elements of v, without the use...

2 months ago

Solved

Sunday bonus

Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!

2 months ago

Solved

Number of problems

No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

2 months ago

Solved

Mann-Kendall Correlation

Write a function that returns the <http://en.wikipedia.org/wiki/Kendall_tau_rank_correlation_coefficient Mann-Kendall> correlati...

2 months ago

I can no longer perform coverage analysis, what could be the problem?

Apart from selecting "Enable coverage analysis", it is needed to specify one out of: Entire System, Referenced Models, Subsystem...

3 months ago | 0

| accepted

fixed point number conversion

You might try the command fi For example, converting the value 1.5 to fixed-point signed, with wordlength 10 and fraction lengt...

3 months ago | 0

set_param() - programmatically change param of multiple blocks of the same type (for-loop)

That´s a good solution. For any other case, you might try to first use the command find_system, to then look for the blocks you ...

3 months ago | 0

| accepted

getting error while using feedback

You need to work with model objects, they must be either continuous os discrete with identical sample times. Here, please read ...

3 months ago | 0

How to avoid duplicate functions in generated code with embedded coder?

Apart from setting the function packaging to 'Reusable function', could you set the Function name option to 'User specified' and...

3 months ago | 0

Solved

Solve a System of Linear Equations

*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

4 months ago

integral sequre error (ISE) via Simulink

Hi Hussein, I think you should take the very final value. For example, if the simulation stops at T=10, go to the row when time...

4 months ago | 0

| accepted