photo

SM


Last seen: 27 days ago Active since 2022

Followers: 0   Following: 0

Programming Languages:
MATLAB
Spoken Languages:
English
Professional Interests:
Control Systems

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Custom square wave in simulink
I need to create a square wave with two different amplitudes as shown in the attached image. The total time duration is 50s. T...

28 days ago | 1 answer | 0

1

answer

Question


Plotting data dependent on three independent variables.
I have a mathematical expression which is dependent on three independent variables. Each of the three variables are one dimensio...

2 months ago | 2 answers | 0

2

answers

Question


Sampling time of matlab figure data
I have some real time experiment data saved in matlab figures. While saving the data in simulink scope, the sampling time was se...

2 months ago | 2 answers | 0

2

answers

Question


Invalid setting in 'Model' for parameter 'Gain'.
I am trying to tune a PID controller for controlling a plant model buit in Simulink. My aim is to obtain the gains of the PID co...

4 months ago | 2 answers | 0

2

answers

Question


Symbolic expression simplification and shortening
I have an extremely long symbolic expression after simplification which I am unable to simplify further. I want to know how to r...

6 months ago | 1 answer | 0

1

answer

Question


Superimposing two 3 D surface plots
I have multiple surface plots written using surf or mesh command. I now want to plot two or more surface plots in the same figur...

7 months ago | 1 answer | 0

1

answer

Question


Integration of a vector inside function for ode45
I am trying to solve a set of differential equations using ode45 command. The problem is I want to integrate one of the variable...

2 years ago | 1 answer | 0

1

answer

Question


Accessing A and B matrices from discrete state space
I have written a code to convert continuous time state space models to discrete time using 'tustin' metod. I want to access A an...

2 years ago | 1 answer | 0

1

answer

Question


Storing elements of product in a row matrix and extracting the nonzero elements
I have three row matrices x,y and z and I need to store the product of each element in a row matrix. For eg: x=[x1 x2 x3], y=[y1...

2 years ago | 2 answers | 0

2

answers

Question


Storing values in a matrix out of nested for loops
I am trying to write a code where I want to store the values out of element wise multiplication using three for loops. I tried a...

2 years ago | 1 answer | 0

1

answer

Question


Takagi Sugeno Fuzzy Model
I am trying to write a code to build a Takagi Sugeno Fuzzy model representing a nonlinear system. One of my consequents in the...

2 years ago | 1 answer | 0

1

answer

Question


Tuning PID using GA for multiple plants
I have a set of linearized plants which are approximation of a nonlinear system at different operating points. I want to tune PD...

2 years ago | 1 answer | 0

1

answer

Question


Genetic Algorithm using ga command is giving solutions out of defined bounds.
I am using ga command to find optimal values for a pd controller for a plant. I have defined the contraints an dthe lower and up...

2 years ago | 1 answer | 0

1

answer

Question


Error in Simulink function block code: Index expression out of bounds. Attempted to access element 2. The valid range is 1-1.
I have 25 matrices described by the global variable A1. I just want to test a simple code using Simulink function block but its ...

2 years ago | 2 answers | 0

2

answers