Community Profile

photo

Gautam

Last seen: 2 giorni fa Attivo dal 2015

Followers: 0   Following: 0

Statistiche

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

Visualizza badge

Feeds

Visto da

Risposto
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...

quasi 4 anni fa | 0

Risposto
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...

quasi 4 anni fa | 0

Risposto
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...

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 0

| accettato

Risposto
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...

quasi 4 anni fa | 2

Risposto
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...

quasi 4 anni fa | 0

| accettato

Risposto
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...

quasi 4 anni fa | 0

Risposto
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;

quasi 4 anni fa | 0

| accettato

Risposto
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...

quasi 4 anni fa | 0

Risposto
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...

quasi 8 anni fa | 0

Risposto
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...

quasi 8 anni fa | 4

| accettato

Risposto
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...

circa 8 anni fa | 0

Risposto
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...

circa 8 anni fa | 0

| accettato

Risposto
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...

circa 8 anni fa | 0

Risposto
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...

circa 8 anni fa | 0