photo

Gautam

Last seen: Today Aktiv seit 2015

Followers: 0   Following: 0

Statistik

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

Abzeichen anzeigen

Feeds

Anzeigen nach

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 2

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 0

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 4

| akzeptiert

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0

| akzeptiert

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

fast 9 Jahre vor | 0

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

fast 9 Jahre vor | 0