photo

patr chri


Last seen: mer än ett år ago Active since 2016

Followers: 0   Following: 0

Statistics

All
MATLAB Answers

15 Questions
4 Answers

Cody

0 Problems
1 Solution

RANK
13 535
of 300 338

REPUTATION
3

CONTRIBUTIONS
15 Questions
4 Answers

ANSWER ACCEPTANCE
66.67%

VOTES RECEIVED
2

RANK
 of 20 922

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
110 642
of 168 124

CONTRIBUTIONS
0 Problems
1 Solution

SCORE
20

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Solver
  • Thankful Level 3
  • First Review

View badges

Feeds

View by

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

ungefär 3 år ago

Answered
Transition from one condition to another with a certain pattern - Simulink
I found the answer, weighing factors can be used! In other words applying a step3 function from 0 to 1 on the starting curve and...

ungefär 3 år ago | 0

| accepted

Question


Transition from one condition to another with a certain pattern - Simulink
Hi, I have a switch case block with which I am "enabling" different subsystems which represent different conditions of a system...

ungefär 3 år ago | 2 answers | 0

2

answers

Answered
How to delay a state derivative using ode solvers in MATLAB
For people with similar questions, one way to approach the solution to this loop is to use a dummy first-order-delay ode. For th...

mer än 3 år ago | 0

| accepted

Question


How to delay a state derivative using ode solvers in MATLAB
Hello, I would like to ask how it is possible to add a delay on the derivatives of the states that are being used inside a set ...

mer än 3 år ago | 2 answers | 0

2

answers

Question


How to iteratively increase the number of power operations
Hello, I want to write a loop in which I will iteratively increase the number of power operations I do. For example: Loop ...

mer än 3 år ago | 1 answer | 0

1

answer

Question


Is it possible to create swept sine wave in Simulink?
Hello, I would like to create a sine wave 0-4 Hz in Simulink. How could I do that?

ungefär 5 år ago | 1 answer | 0

1

answer

Question


Why do we have to provide the jacobians at the Non-linear MPC of Matlab?
Hello, this is more of a theory question but I would greatly appreciate if you could cite good sources with the theory behind m...

mer än 5 år ago | 1 answer | 1

1

answer

Question


Question regarding the NMPC example of the pendulum
Hello, I was looking at the NMPC example of the pendulum (https://www.mathworks.com/help/mpc/ug/swing-up-control-of-a-pendulum-...

mer än 5 år ago | 1 answer | 0

1

answer

Question


How to measure time that fmincon takes to extract one solution from a NMPC running in Simulink
I am running a Non-linear MPC at Simulink and I would like to know if it is possible to measure the computational time it takes ...

mer än 5 år ago | 0 answers | 0

0

answers

Answered
How to count how many times a nested function is being called during fmincon
I found the answer by looking at this topic: https://www.mathworks.com/help/matlab/math/output-functions.html

mer än 5 år ago | 0

| accepted

Question


Plot3 with different colors depending on the value of Z
I am trying to create something like a contour plot but only with vectors. To be more specific, I have 3 vectors of equal length...

mer än 5 år ago | 1 answer | 0

1

answer

Question


How to count how many times a nested function is being called during fmincon
Hello, I am working with a Non-linear MPC and I am using fmincon for the optimization. The NMPC runs in Simulink and currently ...

mer än 5 år ago | 1 answer | 0

1

answer

Question


How to see at each iteration the results of fmincon
Hello, I am using a Non linear MPC formulation for my problem, but I would like to check the results of fmincon at each iterati...

mer än 5 år ago | 1 answer | 0

1

answer

Question


Running two control systems with different rates
Hello, I have a relatively general question. I have two control systems that communicate with each other (one feedforward con...

mer än 5 år ago | 0 answers | 0

0

answers

Question


How to store dynamically an array in a For iterator Simulink Subsystem
Hello, I have this simple system: The code in the function is: function a = fcn(iteration,a) a(1,iteration) = iteration;...

mer än 5 år ago | 1 answer | 0

1

answer

Answered
Vector type output from MATLAB function in Simulink - Errors
The issue was that I hadn't declared an else/elseif in the if statement so Simulink didn't know what to do if the statement wasn...

mer än 5 år ago | 1

| accepted

Question


Vector type output from MATLAB function in Simulink - Errors
Hello all, I have been trying to work out how to implement a vector of any size (1xn) with MATLAB functions in Simulink. For ...

mer än 5 år ago | 1 answer | 0

1

answer

Question


Curve Fitting for non-continuous data with infinity
Hello, I am currently doing some experiments with a SLS/SLM machine in which I measure the width of the product of the experi...

mer än 8 år ago | 1 answer | 0

1

answer

Question


Checking parts of different sizes of a vector for ones
Hello, I am trying to check if parts of different sizes of a vector are equal to ones' vector of the part's size. Let me be ...

nästan 9 år ago | 1 answer | 0

1

answer