Community Profile

# Saeid Bayat

Last seen: 2 months ago Active since 2020

All

#### Content Feed

View by

Question

How to define time as input in nlobj.Model.StateFcn used in nlmpc
As it is mentioned in the documentation, Model.StateFcn = @(x,u,params) myStateFunction(x,u,params). However, in my case, dynami...

6 months ago | 0 answers | 0

### 0

Solved

03 - Matrix Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3b.png>> A 9x9 matrix of zeros, but with the following v...

9 months ago

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

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

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

9 months ago