統計
All
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...
4ヶ月 前
解決済み
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...
4ヶ月 前
解決済み
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...
4ヶ月 前
解決済み
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...
4ヶ月 前
解決済み
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...
4ヶ月 前
質問
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...
約1年 前 | 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
