Community Profile

photo

S.L.


Last seen: 5 Tage ago Active since 2022

Programming Languages:
Python

Statistics

All
  • Solver
  • Thankful Level 1

View badges

Content Feed

View by

Answered
Using Simulink Fast Restart in a parallel computed optimization problem
Just if someone faces the same problem as me. The problem was that my Simulink model was inside a Matlab Project. A part of the...

etwa 2 Monate ago | 1

| accepted

Solved


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

2 Monate ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

2 Monate ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

2 Monate ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

2 Monate ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

2 Monate ago

Solved


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

2 Monate ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

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

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

2 Monate 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:...

2 Monate ago

Question


Using Simulink Fast Restart in a parallel computed optimization problem
Hi, I have a Simulink Model which works perfect when i turn on fast restart. I can change the Values of my parameters A1, A2 and...

2 Monate ago | 1 answer | 0

1

answer

Question


How do i use and index an array in an "else-if" expression in Simulink?
I have a Matrix of Values that i want to use in an "else-if" expression of an If-Block Is it only possible to index a list e.g....

4 Monate ago | 1 answer | 0

1

answer