Community Profile

photo

Phoebe Tyson


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Vector not recognised after while loop ends but still shows as output?
I have created a function function [u,yhat] = power_method(M,y0,TOL) uvec=zeros(1,100); j=0; y=y0; y=M*y; ...

4 years ago | 1 answer | 0

1

answer

Question


1D diffusion equation with different dx and dt
I'm trying to compare and approximation of the 1D diffusion equation with the real value with different step size dx=h and dt. B...

4 years ago | 1 answer | 0

1

answer

Question


Undefined function 'minus' for input arguments of type 'function_handle'. and no output
function [t,u]=fixeddiffusion(h,dt,t0,theta,u0,uN,uinitial,x0,xN,uexact) N=(xN-x0)/h; x=zeros(N+1,1); x(1)=x0; x(N+1)=xN; u...

4 years ago | 1 answer | 0

1

answer

Question


Blank figures appearing for plots
I've create an adaptive time-stepping function and I'm trying to plot the graphs but it is just creating blank figures. Here i...

4 years ago | 1 answer | 0

1

answer

Question


Conversion to double from function_handle is not possible error message
I'm trying to approximate the 1D diffusion equation and when i try to run the function I get the error message "Conversion to do...

4 years ago | 1 answer | 0

1

answer