![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/2705767_1593599401192.jpeg)
Lama Hamadeh
Nottingham Trent University
Followers: 0 Following: 0
Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 3 个回答 | 0
3
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 0 个回答 | 0