Community Profile

Bathala Teja

Last seen: Today Active since 2021

Content Feed

View by

Question

FFT analysis using powergui in simulink
I have done 3 set of ode calculation in matlab and got result of 3 waveforms. I used ode45 for calculation so the time step is ...

1 month ago | 0 answers | 0

0

Question

Forming function handles in matrix
I want to form array of function handles first. After that i need to form 20*20 matrix by involving integration of these functi...

2 months ago | 0 answers | 0

0

Question

Replacing sym with function handle
I gave my script below. In order to get my result i used 'sym' function. But i want to implement without symbolic math toolbox,...

2 months ago | 1 answer | 0

1

Question

forming a function handles in matrix
I want to form a set of function handles in a row matrix. i wrote script like below. w = 2; Nr = 20 nr = @(phi)zeros(1, Nr...

2 months ago | 1 answer | 0

1

Question

issue in solving set of ode's
Here i gave my script with dummy R, G, L, g matrices(because of confidentiality). Here iam forming the matrices G, L and g int...

2 months ago | 0 answers | 0

0

Question

Issue with numerical integration of two variable function
I want to do integration of two variable function w.r.t one variable. A = @(x, y)cos(x)+sin(y) B = @(x, y)(A-integral(@(x)A, 0...

2 months ago | 3 answers | 0

3

Question

vpaintegral() not showing output
I want to integrate my two variable function w.r.t one variable. And i used vpaintegral() for that, But it is not showing expec...

3 months ago | 1 answer | 0

1

Question

Issue with int() function
I gave my script below. In that I am supposed to get Lrr in terms of theta but I am getting it in terms of values. How is this ...

3 months ago | 1 answer | 0

1

Question

substituting function variable in function handle
i want to substitute y(5) in place of theta and poceed for the ode calculations. Here is my script syms theta A0 = cos(thet...

3 months ago | 0 answers | 0

0

Question

Implementing Runge kutta method in place of ode45
I want to solve set of 1st order odes, for that i used ode45 function. But with ode45, it is taking hours and hours of time to ...

3 months ago | 1 answer | 0

1

Question

ODE45 is taking hours and hours to compute
I want to solve 27 odes, for that i formed equations with matrices. First i formed A(27*27 matrix), B(27*27 matrix) and C(25*25...

3 months ago | 2 answers | 0

2

Question

Unable to meet integration tolerances without reducing the step size below the smallest value allowed (1.776357e-15) at time t
My script consists of 4 ode eq's. Iam solving those using ode45 function. syms theta A = cos(theta).*[1 5 6 1 7; 5 0 2 9 3; ...

3 months ago | 0 answers | 0

0

Question

Arranging of variable submatrices into main matrix results in forming cos(conj(theta))
In my script, i formed matrices G_ss, G_sr, Grs, Grr(all are 3*3) in terms of theta. i am doing differentiation operation w.r.t...

3 months ago | 1 answer | 0

1

Question

Issue in plotting of output after function
Unable to plot output after function. I gave my script below syms theta A = cos(theta).*[1 5 6; 2 9 3; 5 1 0]; B = tan(2*the...

3 months ago | 1 answer | 0

1

Question

How to call a variable matrix from one script to another script
I have two scripts. In first one i will get A and B matrices which are interms of theta as shown below. sym theta A = cos(thet...

3 months ago | 2 answers | 0

2

Question

How to form a function using 'for loop' without 'sym' command
i tried like this m = 150; Aos = 40; nAi = 0; for i=1:2:m nAi = @(phi)nAi+cos(i*phi); end nA = vpa((nAi+Aos), 4) Iam...

3 months ago | 2 answers | 0

2

Question

Compiling issue in doing integration of large function containing two variables
My script consists of two varible(theta and phi) functions. While doing integration w.r.t 'phi' it is not giving result, taking...

3 months ago | 0 answers | 0

0

Question

How to use sym and function handle(@) in same code
I have a typical problem. I want to write a script which contains both syms and @() for initializing variables. First i used sy...

3 months ago | 2 answers | 0

2

Question

Solving system of ODE's contains complex equations
Iam forming system of 3 ODE's(dy1/dt, dy2/dt, dy3/dt) using matrices A, B and V. A and B matrices(both 3*3) are interms of some...

3 months ago | 1 answer | 0

1

How to solve system of first order ODE's by forming matrix
Firstly iam very happy for your suggestion, thank you very much. First solution is fine. But i have some complexity in my mai...

3 months ago | 0

Question

How to solve system of first order ODE's by forming matrix
Q: dy1/dt = 2*y1+5*y2+y3 dy2/dt = 7*y1+9*y2 dy3/dt = 4*y1+y2+3*y3 y1(0) = 0, y2(0)= 0, y3(0) = 0; i want to plot y1(t), y2...

3 months ago | 2 answers | 0