Community Profile

Shangeetha Mahendran

Attivo dal 2018

Followers: 0   Following: 0

Feeds

Visto da

Domanda

can anyone help me to fixed this error in my code?
Index exceeds matrix dimensions. Error in fun (line 33) f(1) = C_avg(i) - Cin(i) + (2 * J(i) /R * dtau); Error in fso...

oltre 5 anni fa | 0 risposte | 0

0

risposte

Domanda

how can I write c,f,s in pde function?
if c is changing with x then how to write f and s function [c,f,s]= pdefun1(x,z,u,DuDx) c = (2*U_a/D_s)*(1-x.^2/R1^2); ...

oltre 5 anni fa | 0 risposte | 0

0

risposte

Domanda

how to plot each raw and each column of the matrix?
I have to get graphs similar to attached file function pde1 clc; clear; close all m=1; %cylindrical geom...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Risposto
How to plot matrix data ?
This is the correct code. and i have to get out put like attached images. function pde1 clc; clear; close all m=1...

oltre 5 anni fa | 0

Domanda

How to plot matrix data ?
why figure 4, 5 are blanck? sol =pdepe(m,@pdefun,@pdeic,@pdebc,xmesh,zspan); u=sol(:,:,1) %% surf(x,z,u) xlabel('radi') yl...

oltre 5 anni fa | 2 risposte | 0

2

risposte

Domanda

whats wrong with my code?
function ped1 sol =pdepe(m,@pdefun,@pdeic,@pdebc,xmesh,tspan); u=sol(:,:,1); function [c,f,s]= pdefun(x,t,u,DuDx) c = V/D;...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda

how can I solve this partial derivatives
dc/dz = (a/x * dc/dx +a*d^2c/dx^2) /(1-x^2/L) where a,L are constant.

oltre 5 anni fa | 1 risposta | 1

risposta