Feeds
문제를 풀었습니다
The Bridges of Nedsburg
The fabled city of Nedsburg consists of several islands connected by bridges. Due to tectonic forces, shoddy civil engineering, ...
대략 2개월 전
문제를 풀었습니다
The Goldbach Conjecture
The Goldbach conjecture asserts that every even integer greater than 2 can be expressed as the sum of two primes. Given the eve...
3개월 전
문제를 풀었습니다
Raise a polynomial to a power
In Matlab, polynomials are represented by a vector of coefficients. For example, the polynomial p=a*x^2 + b*x + c is represente...
3개월 전
문제를 풀었습니다
Ohm’s Law - Calculate Resistance
Ohm’s Law states that resistance R can be calculated as:R=V/I where: V is the voltage (in volts) I is the current (in ampere...
3개월 전
문제를 풀었습니다
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...
3개월 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...
3개월 전
질문
MPC Reference Dimension Simulink
I am getting an error stating that the reference should have 12 columns, but when I turn on the dimension, it is clear tha...
5개월 전 | 답변 수: 1 | 0
1
답변질문
Error flag for infeasibility in nonlinear mpc.
I am getting the error flag -2 for my nonlinear mpc design despite their being no constraints. If there is no constraints, how i...
12개월 전 | 답변 수: 0 | 0
0
답변질문
Nonlinear MPC hard constraints
Is there a way to make custom inequality constraint functions in the nonlinear mpc functions to be a hard constraint and not a s...
대략 1년 전 | 답변 수: 1 | 0
1
답변질문
Nonlinear MPC Attitude Control
I have been trying to design nonlinear MPC for attitude control. I put in the code. runsim is the file you need to run, the res...
1년 초과 전 | 답변 수: 0 | 0
0
답변질문
Spacecraft Dynamics Block not matching intuition
I am using the spacecraft dynamics block in Simulink. I am giving two nonzero moment inputs as shown below in one of the attach...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
PX4 Autopilot Trajectory Rather than Waypoint Tracking
https://www.mathworks.com/videos/simulate-and-deploy-uav-applications-with-sil-and-hil-workflows-1653992847786.html The webinar...
1년 초과 전 | 답변 수: 0 | 0
0
답변질문
Hinfgs Question Control Input Number
When I am using hinfgs I have to tell it the number of measurements and control inputs. I have my system defined with a B matri...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
UAV Toolbox Support Package Alternative?
So as shown in the documentation, this package only supports PX4 1.12.3. If I want to use PX4 1.14, would I be able to still jus...
2년 초과 전 | 답변 수: 2 | 1
2
답변질문
Method of Lines 2D
So I am trying to solve the 2D heat equation with no source term using method of lines. So basically I want an ODE at each grid ...
거의 3년 전 | 답변 수: 1 | 0
