Qiu Xu
Followers: 0 Following: 0
Feeds
提问
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=...
6 months 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
3 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 0 个回答 | 0
0
个回答提问
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);...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 1
1
个回答提问
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...
3 years 前 | 2 个回答 | 0