Community Profile

photo

Jesús Zambrano


Last seen: 7 jours ago

MathWorks

644 total contributions since 2018

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

Jesús Zambrano's Badges

  • MATLAB Central Treasure Hunt Finisher
  • Knowledgeable Level 3
  • 12 Month Streak
  • Thankful Level 1
  • Draw Letters
  • Puzzler
  • Modeling And Simulation Challenge Master
  • First Review
  • Revival Level 4
  • Community Group Solver
  • Speed Demon
  • Commenter
  • Promoter
  • Creator
  • Introduction to MATLAB Master

View all

Contributions in
View by

Answered
how to generate 100 random numbers between 5 and -5?
Hey Rayhan, You can try with these lines of code: a = -5; b = 5; N = 100; r = a + (b-a).*rand(N,1); Hope it helps!

14 jours ago | 0

Answered
How do I use LHS(Latin Hypercube Sampling)?
You could try with: lb = [-5 0]; ub = [10, 15]; x = bsxfun(@plus, lb, bsxfun(@times, X, (ub-lb)); %new sample distribution z...

16 jours ago | 0

Answered
Runge Kutta 4 ODE
Hi Valeria, I don't see any system of ODEs (ordinary differntial equations) in equations 4 to 6. For solving ODEs you can foll...

20 jours ago | 0

Answered
Synchronize Two Timetables (observation and simulation)
Hey Ali, I think so too. I guess you included the folloinwg lines of code to define obs and model timetables before using synch...

20 jours ago | 0

| accepted

Answered
Error in port widths or dimensions
If Output port 2 goes to Input port1, then you have a conflict due to the dimensions. Including a signal specification will not ...

21 jours ago | 0

| accepted

Answered
How to programmatically pause and resume UUT Simulation in Test Sequence Block ?
Maybe you can add one or more breakpoints in different steps so to pause in the moment you prefer. Here I include documentation ...

22 jours ago | 1

Answered
How to change C and D matrices of a state-space model?
What about: sys2 = ss(A, B, sys2_C, sys2_D, 'StateName', sys1.StateName)

22 jours ago | 0

| accepted

Answered
Simulink simulation too slow
Hey Fadi, There are several reasons that can slow down your simulation. Here I include few possible causes: Speed Up Simulatio...

26 jours ago | 0

Answered
How to control Inputs in Test Manager
Hey, The following link shows an example of how to add excel data to Inputs selection https://www.mathworks.com/help/releases/...

4 mois ago | 0

Solved


divide by 5

5 mois ago

Solved


Mile to Kilometer
x is mile and y is km

5 mois ago

Solved


Magnitude of a vector
Given a vector x, what is its magnitude?

5 mois ago

Solved


Find square of given number
Find Square of any number

5 mois ago

Solved


Volume of Cylinder
Find the volume of a cylinder

5 mois ago

Solved


square of a number
find square of a given number

5 mois ago

Solved


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

5 mois ago

Solved


easy problem
Find the last element of the array

5 mois ago

Solved


Calculate the area of a circle
Given a circle of diameter x calculate its area

5 mois ago

Solved


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

5 mois ago

Solved


subtraction of two nos
given a and b, subtract and give the answer

5 mois ago

Solved


lb to kilogram
convert lb to kilogram units, easy

5 mois ago

Solved


Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

5 mois ago

Solved


Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

5 mois ago

Solved


Divide pi
Divide pi by x!

5 mois ago

Solved


square root
Find square root of given number

5 mois ago

Solved


Times 5
Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

5 mois ago

Solved


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

5 mois ago

Solved


Multiply pi
Multiply pi with x!

5 mois ago

Solved


Square root of number
Square root of given number.

5 mois ago

Solved


row removal
Consider a matrix and remove the first row of the matrix.

5 mois ago

Load more