MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
Lyapunov Plotting: using 'mesh' and 'meshgrid' with matricies
Daniel_cleveland - 2021-10-04

I'm trying to plot a 3d graph of a Lyapunov function of a control system I've created. The function is:   V(x)=xT*P*x   where x is a 2x1 matrix of t...

Where can I get more information about the Important Patch for MATLAB and Simulink R2014b?
mohit_singh - 2021-10-04

I've noticed there is an important patch available in Bug Report ID 1184018. Can I get additional details?  ...

How to put variable name in Y-limits of a scope in Simulink programmatically from Matlab
priya - 2021-10-04

I want to put variables names in the Y-limits of a scope in Simulink( v10) with Matlab (v2019b). To be able to control the Y-limits of my scopes with ...

Cannot compute Riccati solution for LQI controller
Costa - 2021-10-04

This is my code right now:   u=0.5; v=0; omega=0; m=50; psi=0; c_d_Long=0.5; c_dr=0.6; c_d_Lat=1; rho=1000; L=1.2; W=0.275; H=0.416; I=38; A =[0, 0, ...

Simulink HDL Coder D-FF With Trigger that isn't clock
Israeli - 2021-09-30

Hello, im trying to build a D-FF using HDL Coder in Simulink without a clock trigger signal. The trigger signal I desire is generated outside the subs...

Connection between two PCs with Simulink
Cruz - 2021-09-30

I am doing a master degree project and it is based on Hardware-in-the-loop (HIL) to a quadrotor model. The difference between common projects I will n...

gpsSensor problem with Random Stream
Costa - 2021-09-30

Hi to everybody!   I have a big problem with my gpsSensor. In my model I need to use 2 gps: one for my boat and one for my buoy (target).   The two ...

How to modify the Names in Input and Output tabs of the FMU block from the Command Line/API?
trans_hnud - 2021-09-30

How to modify the Names in Input and Output tabs of the FMU block from the Command Line/API?  ...

Function 'fmincon' not supported for code generation
Albrecht - 2021-09-30

Hello,   im currently trying to implement nonlinear MPC in MATLAB/Simulink using the MATLAB function block. function u_mpc = MPC(x, u_mpc, u_0, A_ine...

How to get the file path inside a script, function, or model?
ramesh - 2021-09-30

How can I get the path of the script or function being executed or model being run from inside the file itself?  ...

Get a Free Consultation or a Sample Assignment Review!