photo

Naveen Krish


Last seen: 25 días hace Con actividad desde 2022

Followers: 0   Following: 0

Estadística

MATLAB Answers

11 Preguntas
0 Respuestas

CLASIFICACIÓN
214.722
of 300.331

REPUTACIÓN
0

CONTRIBUCIONES
11 Preguntas
0 Respuestas

ACEPTACIÓN DE RESPUESTAS
18.18%

VOTOS RECIBIDOS
0

CLASIFICACIÓN
 of 20.920

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN

of 168.124

CONTRIBUCIONES
0 Problemas
0 Soluciones

PUNTUACIÓN
0

NÚMERO DE INSIGNIAS
0

CONTRIBUCIONES
0 Publicaciones

CONTRIBUCIONES
0 Público Canales

EVALUACIÓN MEDIA

CONTRIBUCIONES
0 Temas destacados

MEDIA DE ME GUSTA

  • Thankful Level 2

Ver insignias

Feeds

Ver por

Pregunta


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...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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;...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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(...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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];

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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,...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 = ...

más de 3 años hace | 1 respuesta | 0

1

respuesta