Community Profile

# BCP

Last seen: 10 maanden ago Active since 2020

All

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

12 maanden ago | 0 answers | 0

### 0

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

ongeveer een jaar 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 ...

ongeveer een jaar 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.

ongeveer een jaar 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

ongeveer een jaar 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...

ongeveer een jaar 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:...

ongeveer een jaar 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 ...

meer dan een jaar ago | 1 answer | 0