### Nottingham Trent University

Last seen: oltre un anno fa Attivo dal 2017

Followers: 0   Following: 0

#### Feeds

Visto da

Domanda

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

quasi 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 2 anni fa | 3 risposte | 0

### 3

risposte

Domanda

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

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 2 anni fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 4 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

oltre 4 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

quasi 7 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 7 anni fa | 0 risposte | 0

### 0

risposte

Domanda

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

quasi 7 anni fa | 0 risposte | 0

risposte