Community Profile

photo

Yaswanth Sai


Last seen: 3 years ago Active since 2018

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Discontinuities when computing integration of error functions using integral function
I am trying to integrate a function over a region in different time intervals. The integration looks something like this. fun_u...

4 years ago | 2 answers | 0

2

answers

Question


Use of backslash while calculating the product of inverse of a matrix and another matrix
I am trying to implement successive overrelaxation method. I am getting different answers when I distributed the inverse between...

4 years ago | 1 answer | 0

1

answer

Question


How can I convert set of symbolic functions into function handle so that they can be used as input to ode45?
For example, I have to solve the following equations if true syms x(t) y(t) z(t) eq1 = diff(x,t) == -x+3z; ...

5 years ago | 1 answer | 0

1

answer

Question


How can I generate a matrix of symbolic functions, whose size varies depending on the input values?
For example, I want to generate 4 symbolic functions which depend on the variable 't'. They should be something like th1(t), th2...

5 years ago | 1 answer | 0

1

answer

Question


Is there any way to reduce the error in the calculation of eigenvectors when using eig function?
In the equation AV = BVD (cond(A) = 10^4, cond(B) = 10^8), my A and B matrices are highly ill-conditioned. The eigenvectors I am...

5 years ago | 1 answer | 0

1

answer

Question


Is there a general formula to calculate the sum of the squares logarithms of first n natural numbers?
Is there a general formula for the following sequence? S(n) = [log(1)]^2 + [log(2)]^2 + ......... + [log(n-1)]^2 + [log(n)]^2...

6 years ago | 2 answers | 0

2

answers

Question


Hi! How to decrease the computation time of calculating eigenvalues and eigenvectors of large sparse matrices like 10000X10000(I need all the eigenvalues so I can't use eigs)?
I need to find all the eigenvalues of a large matrix which is 10000X10000, and I have to loop it for some 1000 times.My computer...

6 years ago | 1 answer | 1

1

answer

Question


How to generate c code from MATLAB code as subs is not supported by MATLAB.
Hi! I am facing some issues in generating C code from MATLAB coder while I used subs. Please help me to fix this so that I can g...

6 years ago | 1 answer | 0

1

answer