Community Profile

photo

Volkan Yangin


Last seen: alrededor de 1 mes ago

Yildiz Technical University

58 total contributions since 2015

Contact

Volkan Yangin's Badges

  • Thankful Level 3

View details...

Contributions in
View by

Question


What could be the cause of the oscillation in the solution?
Hi, I have 8 nonlinear differential equations and solve them in SIMULINK via ode45. This system includes one loop and SIMULINK ...

2 meses ago | 0 answers | 0

0

answers

Question


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

2 meses ago | 1 answer | 0

1

answer

Question


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

3 meses ago | 1 answer | 0

1

answer

Question


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

3 meses ago | 1 answer | 0

1

answer

Question


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

4 meses ago | 1 answer | 0

1

answer

Question


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

4 meses ago | 1 answer | 0

1

answer

Question


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

4 meses ago | 1 answer | 0

1

answer

Question


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

4 meses ago | 1 answer | 0

1

answer

Question


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

4 meses ago | 1 answer | 0

1

answer

Question


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

5 meses ago | 1 answer | 0

1

answer

Question


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

5 meses ago | 1 answer | 0

1

answer

Question


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

5 meses ago | 1 answer | 0

1

answer

Question


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

5 meses ago | 1 answer | 0

1

answer

Question


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

5 meses ago | 1 answer | 0

1

answer

Question


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

5 meses ago | 1 answer | 0

1

answer

Question


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

5 meses ago | 1 answer | 0

1

answer

Question


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

5 meses ago | 1 answer | 0

1

answer

Question


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

6 meses ago | 3 answers | 0

3

answers

Question


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

6 meses ago | 1 answer | 0

1

answer

Question


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

casi 4 años ago | 1 answer | 0

1

answer

Question


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

casi 4 años ago | 1 answer | 0

1

answer

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

alrededor de 4 años 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...

alrededor de 4 años ago | 2 answers | 0

2

answers

Question


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

alrededor de 4 años ago | 1 answer | 1

1

answer

Question


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

alrededor de 4 años ago | 1 answer | 0

1

answer

Question


Using NaN in if and interp1 commands
Hi everbody, I have 6 values and some values are NaN. If interp1 command finds the final value as NaN for giving ' *c*' value, ...

alrededor de 4 años ago | 1 answer | 0

1

answer

Question


Why MATLAB gives me this warning?
*Check function or try again with a different starting value. Exiting fzero: aborting search for an interval containing a sign ...

alrededor de 4 años ago | 2 answers | 0

2

answers

Question


Where is my mistake on cumulative sum of 4 matrices?
Hi everbody, I have 4 matrices and to find cumulative sum of them, i use this code: %aa includes 4 matrices (4 line, 101 c...

alrededor de 4 años ago | 2 answers | 0

2

answers

Question


Function value at starting guess must be finite and real.
Hi everybody. I created a code as under the this text. hiz(1)=18.54; ra=36:1:71 for g=2:1:numel(ra)+1 ...

alrededor de 4 años ago | 1 answer | 0

1

answer

Question


How can i solve this equation with for loop?
y=[1 4 5 6 8] for g=1:1:numel(y) W1(g)=15*y(g) W2(g)=@(x) x.^2+y(g) f(g) = @(x) W1(g)+W2(x)+y(g)...

alrededor de 4 años ago | 1 answer | 0

1

answer

Load more