Community Profile

photo

Volkan Yangin


Yildiz Technical University

Last seen: 22日 前 2015 以来アクティブ

Statistics

  • Explorer
  • Thankful Level 3

バッジを表示

Content Feed

表示方法

質問


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

22日 前 | 1 件の回答 | 0

1

回答

質問


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

約2ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

約2ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

4ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

4ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

4ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

9ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

9ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

10ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

12ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

12ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

12ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

12ヶ月 前 | 1 件の回答 | 0

1

回答

質問


How can i make equal two matrices?
Hi, xx0 = [(5347071735127577*t)/2251799813685248 + 10, 10 - (867684789143429*t)/8796093022208] [ 56 - (49822173224577*t...

12ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

12ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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

12ヶ月 前 | 3 件の回答 | 0

3

回答

質問


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

12ヶ月 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

質問


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年以上 前 | 1 件の回答 | 0

1

回答

回答済み
How 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 ...

4年以上 前 | 0

質問


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

4年以上 前 | 2 件の回答 | 0

2

回答

質問


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

4年以上 前 | 1 件の回答 | 2

1

回答

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

もっと読み込む