photo

Gautam

Last seen: Today Active since 2015

Followers: 0   Following: 0

Statistics

All
  • First Review
  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
I'm doing predictive torque control in simulink, while running I'm getting error as variable x_opt is not fully defined on some execution paths. How to correct the program? Can any one send the code for it?
The error would indicate that when you create your function and if you have implemented if-elses or multiple ifs and in one of t...

4 years ago | 0

Answered
Nonlinear State-Space simulation
1) You can use ode45 for solving these equations in MATLAB (Refer the examples here to understand how to use ode45 for solving n...

4 years ago | 0

Answered
Add dates in x-axis
Referring the doc: datetick is useful when plotting numeric values that are serial date numbers. Days is just an array of numbe...

4 years ago | 0

| accepted

Answered
Livescript: having an output below a section
Click on the option 'Output inline' on your live-script

4 years ago | 0

| accepted

Answered
Writing an Optimization Problem
I know you want to find optimal values of x&y, but while using fmincon or any of the optimization routines, you should pass only...

4 years ago | 2

Answered
how to delete (all) Requirement Traceability links of Stateflow transition-lines by command
I'm assuming that you have your 55x1 array of transition objects with you. Post that you can use 'rmi' API to programmatically h...

4 years ago | 0

| accepted

Answered
Fixing errors to run an electric vehicle simulation
There is a 'solver configuration' block in Simscape -> Utilities library. You need to add it to any part of your Simscape networ...

4 years ago | 0

Answered
How to take user input values to create a row vector and column vector?
Try inputdlg instead. a = str2num(char(inputdlg('Enter a: '))); b = str2num(char(inputdlg('Enter b: '))); c = a*b;

4 years ago | 0

| accepted

Answered
Extract Text from Model Info Block
You can use get_param to query info populated in 'Model Info' block in your model. For instance, if the name of the model is 'sa...

4 years ago | 0

Answered
Get residuals from real data and estimated arima model
Hi Vardan, You can use the 'resid' function to get residuals from the data and the model.Refer the following documentation fo...

8 years ago | 0

Answered
What does ">IC" symbol mean that appears on a Simulink signal line ?
Hi Scott, The symbol 'IC' means that outport is getting its initial conditions from the block connected to it when the 'Sourc...

8 years ago | 4

| accepted

Answered
Adding a second plot and y-axis to existing code.
Hi Aaron, If you want to plot another varaible on the same plot with same scale(of y-axes), you could use the plot command. O...

8 years ago | 0

Answered
How can I include a time delay in Simulink of the type exp(-Ts) ?
Hi Francois, Instead of using Continuous 'Transfer fcn' block, use the 'LTI System' block present in Control System toolbox t...

8 years ago | 0

| accepted

Answered
How to update the parameters in a mask?
Hi Willy, A possible reason for this is that you might be creating the mask parameters(for example, the parameter 'bg') for y...

8 years ago | 0

Answered
haw i do LTI system with gui
Hi Noura, This can be done using the Linear System Analyzer. Refer the examples in following documentation that will help you...

8 years ago | 0