**Statistics**

RANK**14,385**

of 250,114

REPUTATION**2**

CONTRIBUTIONS

**61** Questions

**2** Answers

ANSWER ACCEPTANCE **
60.66%
**

VOTES RECEIVED**2**

RANK

of 17,377

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 103,803

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

**Content Feed**

Question

Where is my mistake on ga command in SIMULINK?

Hi, I am trying to use "ga" in SIMULINK, but i cannot perform it correctly. Error message: Function handle cannot be used her...

4 months ago | 1 answer | 0

### 1

answerQuestion

Why do i get an error with coder.extrinsic?

Hi, I have very complicated matrices and vectors which consist of "dirac". To run dirac command in SIMULINK, i use coder.extrin...

5 months ago | 1 answer | 0

### 1

answerQuestion

How can i solve this optimization problem?

Hi, My cost function is: clear all clc syms delta_Uk F = rand(4,5); Xf = rand(5,1); phi = rand(4,2); Q = rand(4,4); R_b...

5 months ago | 1 answer | 0

### 1

answerQuestion

Is it possible to make inactive some of lines?

Assume that A = [a*b;... %line 1 a*b^2;... %line 2 a*b^3;... %line 3 ] Is it possible to generate...

7 months ago | 1 answer | 0

### 1

answerQuestion

How can i repeat a formula without for loop?

Hi, I want to repeat my formula according to p value. For this purpose, for loop can be easily used, but i should not implement...

7 months ago | 1 answer | 0

### 1

answerQuestion

How can i integrate this expression which includes matrices?

Hi, I have two matrices and will use them to have discrete form of state space. For this purpose, i have to implement some of i...

7 months ago | 1 answer | 0

### 1

answerQuestion

How can i define sind, cosd etc. in SIMULINK?

Hi, In SIMULINK, we can convert the angle from radian to degree, but there is no block about sind, cosd or atand. Why does not ...

12 months ago | 1 answer | 0

### 1

answerQuestion

Why does not coefficients vector include zero?

Hi, In this code, cf should be [3 2 0], but the output is different. What is the reason of this? Thanks, clear all clc syms...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i use symbolic variables which were created as a vector?

Hi, x_opr=[1 2 3 4 5 6 7 8 9]; syms sv sv=sym('x',[1 numel(x_opr)]) Output of this command is: sv = [ x1, x2, x3, x4, x5,...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i select correct initial points to use fsolve effectively?

Hi, I try to solve 3 nonlinear equations and use fsolve. Solution may change because of selection of initial points. Additional...

1 year ago | 1 answer | 0

### 1

answerQuestion

Is there any missing in my simulation via lsim?

Hi, I have a state space model below and my inputs are u1=[0.1 0.1] and u2=[1000 1000] for t=[0 0.01]. I have created a simulat...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i obtain response of MIMO for different 2 input?

Hi, You can see my arbitrary state space model below. First input should be 0.1*step, and second one 100*step. How can i defi...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i get sum of the responses of multi input system?

Hi, For linear systems, we can implement superposition procedure to obtain result of any state space system for multiple inputs...

1 year ago | 1 answer | 0

### 1

answerQuestion

Why are some of the outputs' first values not equal to zero?

Hi, My state space system contains 6 outputs and some of them's first values are not zero. In my opinion, when t=0; first value...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i remove "==" from symbolic equation?

Edit: I have solved my problem with rhs. Hi, I have created a symbolic equation via isolate command. Resulting equation is...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i find equilibrium points of 2 ODEs?

Hi, I have 2 ODEs like this: syms x1 x2 ode1=- 10*x2 - (9668*sin((pi*((317467494955027*(18*x1 - (2961*x2)/125))/(112589990684...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i fix this ode45 error: Not enough input arguments.

Hi, I have two odes and use ode45 to solve them simultaneously. At first ode, there are two state variables: x1 and x2, but sec...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i use symbolic equations in ode45

In my code, i tried to convert my symbolic function to numeric to solve it via ode45, but took this error message: Error using ...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i use dsolve and symbolic expressions in for loop?

Hi, In my code, i have to change initial conditions for each step to solve the diff. eqs., so i use for loop. To solve the eqs...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i solve these ODEs?

Hi, I have two ODEs with 2 initial conditions. I have created code for this, but have a problem: Why do i see X1 and X2 at the...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i make equal two matrices?

Hi, xx0 = [(5347071735127577*t)/2251799813685248 + 10, 10 - (867684789143429*t)/8796093022208] [ 56 - (49822173224577*t...

1 year ago | 1 answer | 0

### 1

answerQuestion

How can i get any response of this state space model?

Hi, I want to get response of my state space model for any input i create. For this purpose, i use lsim command, but take error...

1 year ago | 1 answer | 0

### 1

answerQuestion

Is there any way to get numerical result from symbolic function?

Hi, I have a smybolic function created by syms command and at the next steps in my code, i should get numerical output by using...

1 year ago | 3 answers | 0

### 3

answersQuestion

How can i find results of functions for symbolic points?

Hi, I have 2 different function and i don't know how i can get function results for 3 symbolic points. Final state of the funct...

1 year ago | 1 answer | 0

### 1

answerQuestion

Combine of two matrices

Hi everbody I have two matrices like these: A=[10 12 14 16 18] B=[1 3 5 7 9] I should combine two matrices as: ...

4 years ago | 1 answer | 0

### 1

answerQuestion

How can i manipulate matrix like this?

EDIT: I have solved the problem with using if-end loop, but if you share alternative solutions if you have, i will be very happy...

4 years ago | 1 answer | 0

### 1

answerHow can i create matrix automatically?

for ... elements=[1 1 2 2 3 3 4 4]; if numel(gap)<=numel(elements); matrix=elements(1:numel(gap)); end ...

5 years ago | 0

Question

How can i create matrix automatically?

Hi everbody I should create a matrix by using number of element of any gap like as the example: If gap has: *3 element...

5 years ago | 2 answers | 0

### 2

answersQuestion

How can i round numbers to multiple of any number?

Hi everbody There are commands for rounding of numbers in MATLAB like ceil, floor etc., but if we should round the numbers to...

5 years ago | 1 answer | 2

### 1

answerQuestion

How can I add the values to the top of the bars?

Hi everbody To add the values of bars (like as the image), what kind of a code can be written? Thanks... <</matlabcentr...

5 years ago | 1 answer | 0