Community Profile

photo

Lama Hamadeh


Nottingham Trent University

Last seen: 1 year ago Active since 2017

Statistics

  • Thankful Level 3
  • First Review

View badges

Content Feed

View by

Question


Simpson method on f(x)
Hi, I am trying to code the integration of a simple function using Simpson method. I have managed to get the right solution us...

2 years ago | 1 answer | 0

1

answer

Question


Add cells into a square
Hi, I have the below square. How can I create a mesh of cells inside the square generated from equal subdivision on each edge? ...

2 years ago | 2 answers | 0

2

answers

Question


Creating a logic vector out of 2D matrix
Hi, How can I create a logic vector out of a matrix in a way that each row of equals to when the second element of per row...

2 years ago | 3 answers | 0

3

answers

Question


mapping matrix of two vectors
Hi, If I have two vectors and as shown below. Is there a way to create matrix that mapps each row of with its correspondent...

2 years ago | 1 answer | 0

1

answer

Question


reordering matrix elements according to another matrix
Hi, If I have the following two matrices: A = [2 ; 4 ; 1 ; 3]; B = [12; 15; 20; 9]; where each row in corresponds to each r...

2 years ago | 2 answers | 0

2

answers

Question


Find out the cell index from matric values
Hi all, I want to find out the cell index of each row of matrix . Each row has two values that correspond to and . I need to c...

2 years ago | 1 answer | 0

1

answer

Question


Relation between two vectors elements
Hi all, suppose I have two vectors: A = [1 2 3 4 5 6 7 8 9 10]; B = [4 7 8 2 1 10 3 5 9 6]; Ho can I say, the first element ...

2 years ago | 2 answers | 0

2

answers

Question


Access the x and y values using cell index
Hi all, I am trying to access the values of both x and y values using just the cell index similar to the structure shown below....

2 years ago | 1 answer | 0

1

answer

Question


spectral solution to 1D KdV equation
I am trying to solve the solution of a 1D KdV equation (ut+uux+uxxx=0) starting from a two solitons initial condition using Four...

3 years ago | 0 answers | 0

0

answers

Question


ode45 goes to infinity!
Dear all, I am solving 2D shallow fluid equations where I first use the time-independent equations and then I integrate the t...

4 years ago | 0 answers | 0

0

answers

Question


values instead of points
Dear all, I have the following code: xmin=27.5; xmax=35.5; ymin=32.8; ymax=62.5; x=linspace(xmin,xmax,100); y=y...

6 years ago | 1 answer | 0

1

answer

Question


PDE solution in a different spatial domain
Hi, I have a time-dependent PDE solution T(k,i) where k runs over time steps (i.e., k=1:nt) and i suns over spatial steps (i....

7 years ago | 0 answers | 0

0

answers

Question


Change the value of PDE solution spatial indices
Dear all, I have solved the partial differential equitation of the diffusion equation (first order in time and second order i...

7 years ago | 0 answers | 0

0

answers