# Qiu Xu

Last seen: 2 mesi fa Attivo dal 2021

Followers: 0   Following: 0

#### Feeds

Visto da

Domanda

how to aviod the two loops
I have a code: x=linspace(-10,10,10001); y=linspace(-5,5,20001); A=[]; for j=1:length(x) for k=1:length(y) A=...

2 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to aviod the following for loops
Hi, I want to perform the following calculations on Matlab N=1000; M=200; K=256; U=rand(N,M)+i*rand(N,M); % where i is comp...

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How to plot the 2d complex function with amplitude and phase
I have a 2d complex function as follows psi=sqrt(x^2+y^2)*exp(-(x^2+y^2)/16)*exp(i*atan2(y,x)); How to realize the following ...

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How to plot the 2d complex function with amplitude and phase
I have a 2d complex function as follows psi=sqrt(x^2+y^2)*exp(-(x^2+y^2)/16)*exp(i*atan2(y,x)); How to realize the following ...

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How to write the linear equations in the form of matrix
I have a linear equations: -i*c*sqrt((nx+1)*ny)*u_{nx+1,ny-1}+i*c*sqrt(nx*(ny+1))*u_{nx-1,ny+1}=E*u_{nx,ny}, where nx,ny=0,1,2,3...

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

multi-dimensional gpu array multiplication
Hi, I am performing the following two GPU calculations: (1) The first problem m=100; n=100; p=1024; A=gpu...

oltre 2 anni fa | 0 risposte | 0

### 0

risposte

Domanda

2D matrix multiply with 3D array
Hi, I have two 2D matrix u and v, and a 3D array B. I want to perform the following calculations, for example u=rand(200,300);...

oltre 2 anni fa | 1 risposta | 0

### 1

risposta

Domanda

using eig to find the eigenvalues and eigenvectors of a large matrix on GPU
Hi, I have matrix A with 7936*7936 dimensions. I use eig to find its eigenvalues and eigenvectors, the command is [vect,eige...

quasi 3 anni fa | 1 risposta | 1

### 1

risposta

Domanda

each columun of a 2D matrix multiply with a 3D array
Hi, I have a 2D matrix and a 3D array, I want to perform the following calculations: A=rand(200,300); B=rand(60,6...

quasi 3 anni fa | 2 risposte | 0

risposte