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개월 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 2 | 0