Community Profile

photo

BCP


Last seen: 3 years ago Active since 2020

Statistics

All
  • Thankful Level 2
  • Solver
  • Thankful Level 1

View badges

Content Feed

View by

Question


Error with stateflow chart call to simulink function in a referenced model.
Hi all, I spent almost a day trying to figure out what's going wrong with my model and I'm still clueless. I really appreciate...

3 years ago | 0 answers | 0

0

answers

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3 years ago

Solved


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

3 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

3 years ago

Solved


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

3 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Question


Variant Subsystem for code generation
Hi all, I'm trying to contemplate the idea of using "Variant Subsystem" instead of regular "if" or "Switch" cased in terms of ...

3 years ago | 1 answer | 0

1

answer

Question


Requirement status in Simulink Requirements API
Hi all, I'm currently testing out the Simulink Requirements API. I found Implemented and Verfication metrics which are very go...

3 years ago | 1 answer | 0

1

answer