Phoebe Tyson
Followers: 0 Following: 0
Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0