# SM

Followers: 0 Following: 0

**Programming Languages:**

MATLAB

**Spoken Languages:**

English

**Professional Interests:**

Control Systems

**Statistics**

**MATLAB Answers**

**14** Questions

**0** Answers

RANK**202,187**

of 295,040

REPUTATION**0**

CONTRIBUTIONS

**14** Questions

**0** Answers

ANSWER ACCEPTANCE **
71.43%
**

VOTES RECEIVED**0**

RANK

of 20,168

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 153,105

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

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

8 days ago | 1 answer | 0

### 1

answerQuestion

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

1 month ago | 2 answers | 0

### 2

answersQuestion

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

1 month ago | 2 answers | 0

### 2

answersQuestion

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

3 months ago | 2 answers | 0

### 2

answersQuestion

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

5 months ago | 1 answer | 0

### 1

answerQuestion

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

6 months ago | 1 answer | 0

### 1

answerQuestion

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

answerQuestion

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

answerQuestion

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

answersQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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