Community Profile

photo

Avinash Gupta


Last seen: 23 days ago Active since 2021

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


What is the need for a nested function?
Hello. This is a code for solving van der Pol equation using ode45. Its available on 12000.org. I hope posting it here is not vi...

2 months ago | 1 answer | 0

1

answer

Question


Facing an error while using "cameraCalibrator" app
I get the following while performing calibration using the Camera Calibrator app: Warning: Error occurred while executing the l...

9 months ago | 0 answers | 0

0

answers

Question


How to convert the for loop to a while loop?
A = [7 3 2 1; 2 9 4 5; 1 3 13 4; 4 5 8 14 ]; % A is diagonally dominant b = [1;2;3;4]; x = zeros(4,1); x_new = zeros(4...

2 years ago | 1 answer | 0

1

answer

Question


How can I prevent update of x(i) at each step of the loop? Essentially, this is a code for Gauss Seidel. How do I modify it to make it Jacobi iterative method?
A = [7 3 2 1; 2 9 4 5; 1 3 13 4; 4 5 8 14 ]; % A is diagonally dominant b = [1;2;3;4]; x = zeros(4,1); %% Method I ...

2 years ago | 1 answer | 0

1

answer