Community Profile

photo

Gideon Idumah


Last seen: 14 days ago Active since 2018

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Plotting a circle on top of a trisurf graph.
I have solved a finite element problem, and I am using trisurf to plot the result. However, I want to specify a circular patch c...

2 months ago | 1 answer | 0

1

answer

Question


Why does my ODE solver go slow when I specify the Jacobian
Hello, I have a code that uses ode15s to solve a stiff ode system. The RHS is of size 32. I realized that when I specify the J...

2 months ago | 0 answers | 0

0

answers

Question


How can I make my ODE system run faster
options = odeset('mass',BigM,'MassSingular','no','BDF','on','MaxOrder',2,'Jacobian',... @(t,u) MyJacobian(t,u,MM_params, R...

2 months ago | 1 answer | 0

1

answer

Question


How to randomly choose 5% of a matrix to be of value 1.
I have a 256 x 256 matrix which has value 1 inside a small square 20 x 20 around the center, and zero elsewhere. I need to rando...

3 years ago | 1 answer | 0

1

answer

Question


How to terminate an if-elseif-else statement once a condition is met.
I want a situation whereby if the first 'if' statement is true (norm_sn <= del), the code should calculate x_plus and exit the i...

3 years ago | 1 answer | 0

1

answer