Community Profile

photo

Kushagra Saurabh


Last seen: 8 months ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


The size of X must match the size of Z or the number of columns of Z.
i'am trying to solve 2d laplace equation using fourth order central difference could but i'am getting an error:The size of X mus...

1 year ago | 2 answers | 0

2

answers

Question


The size of X must match the size of Z or the number of columns of Z.
I am trying to solve the 2d laplace equation for heat conduction using forward diffrence scheme, but I'm getting an error:The s...

1 year ago | 0 answers | 0

0

answers

Question


Index in position 1 is invalid. Array indices must be positive integers or logical values.
% calculation of Emax T_epsilon = zeros(Nx,Ny); for i =2:Nx-1 for j = 2:Ny-1 T_epsilon(i,j) = T(i,j) - A((dy*i)/...

1 year ago | 2 answers | 0

2

answers

Question


error: Unable to perform assignment because the size of the left side is 1-by-49 and the size of the right side is 1-by-51 at line 23, where is the problem?
clear all; close all; geometry of domain Nx = 51; Ny = 51; dx = 1/(Nx-1); dy = 1/(Ny-1); W = 0:dx:1; H = 0:dy:1; ...

1 year ago | 1 answer | 0

1

answer