photo

Naveen Krish


Last seen: 3개월 전 2022년부터 활동

Followers: 0   Following: 0

통계

MATLAB Answers

11 질문
0 답변

순위
256,728
of 300,813

평판
0

참여
11 질문
0 답변

답변 채택
18.18%

획득한 표
0

순위
 of 21,086

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 171,169

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Thankful Level 2

배지 보기

Feeds

보기 기준

질문


File: laxexplicit.m Line: 41 Column: 31 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
% Chlorine Decay Flow for the Lax method to solve the advection equation clear; % Parameters to definr the advection equatio...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


I need to change the boundary condition in the code below
% Heat diffusion in one dimensional wire within the explicit FTCS method clear; % Parameters to define the heat equation and...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


Index in position 1 is invalid. Array indices must be positive integers or logical values. Error in explicitftcs (line 28) u(Nx+1,k) = 1.; >> u(Nx+1,k) = 1.; Index in
% Heat diffusion in one dimensional wire within the explicit FTCS method clear; % Parameters to define the heat equation and t...

거의 4년 전 | 답변 수: 2 | 0

2

답변

질문


Error using plot Vectors must be the same length. Error in Eulerrk (line 54) plot (t,h(:,1),A,xR,yR(:,1))
clc clear all %%RK Method %h=[3600 1800 900 450 225]; h = 3600; A0=1; B0=3; P0=0; K=5*10^-5; Yb=1; Yp=0.15; xR ...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


Not enough input arguments. Error in odefun (line 2) y1 = y(1); Error in bvp4c (line 5) sol =bvp4c(odefun,bcfun,solinit);
function dydx = odefun(y,x) % equation to solve y1 = y(1); y2= y(2); dy1_dx = y(2); dy2_dx = [U*y2+K*y1/D]; dy_dx = [dy_dx;...

거의 4년 전 | 답변 수: 2 | 0

2

답변

질문


File: bvpfcn.m Line: 1 Column: 23 Invalid use of operator.
Hi, I'm doing a project on chlorine decay in water distribution pipes, to solve this ODE with the following Matlab's BVP4C func...

거의 4년 전 | 답변 수: 2 | 0

2

답변

질문


need to use this analytical solution to plot the absolute percent error in the concentration A at each time step for Euler's method
%% Euler nsteps = 12; t = zeros (nsteps,1); A = zeros (nsteps,1); B = zeros(nsteps, 1); P = zeros(nsteps,1); A(1) = 1; B(...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


Unrecognized function or variable 'A'. Error in ode89vsrk (line 37) plot (t,A,x,Y(:,1))
clc clear all %% ODE89 A0=1; B0=3; P0=0; K=5*10^-5; Yb=1; Yp=0.15; tspan = [0 43200]; [x,Y] = ode89(@(t,Y) odefun...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


Not enough input arguments Error in bvpfcn (line 5) dydx = [y(2)*(U*y(2)+K*y(1))/D];
Error in bvpfcn (line 5) dydx = [y(2)*(U*y(2)+K*y(1))/D];

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


I got two different graphs from my code like ODE89 and Eulers method. I need to compare the graphs in it.
ODE89 clc clear all A0=1; B0=3; P0=0; K=5*10^-5; Yb=1; Yp=0.15; tspan = [0 43200]; [t,Y] = ode89(@(t,Y) odefun(t,...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


I want to comapre my A,B and P against time and want to compare my ODE89 function with Eulers method with a timestep of 3600
nsteps = 12; t = zeros (nsteps,1); A = zeros (nsteps,1); B = zeros(nsteps, 1); P = zeros(nsteps,1); A0 = 1; B0 = 3; P0 = ...

거의 4년 전 | 답변 수: 1 | 0

1

답변