Question

How do I integrate this set of matrix data points

I have a matrix diffphi which is a 32x32 matrix. I want to integrate this using trapz in the following manner: for every row ...

ungefär 4 år ago | 1 answer | 0

Question

How do I store a maximum value from a 3-d matrix to a 2-d matrix?

I have a 3-d matrix z with variables x, y and s. I want to store the maximum value of z over s in a new matrix with variables x ...

ungefär 4 år ago | 1 answer | 0

Question

How do I change a discrete 3-D surface into a continuous 3-D surface whose exact surface equation is not known?

If I have some data points recorded on a 2-D matrix and plot it to obtain a 3-D surface, how should I change that surface into a...

ungefär 4 år ago | 1 answer | 0

Question

The code does not return the unwrapped phase. Why?

if true % code phi=zeros(512,512); I=zeros(512,512); R=ones(512); %reference beam with all ones for i=1:512 ...

mer än 4 år ago | 1 answer | 0

Question

How do I do phase unwrapping for a function in 2 variables for which I know the surface is increasing but I do not know the exact nature of the surface?

I have an unknown surface phi(i,k)on a 2 dimensional matrix such as 512x512 matrix. I know that it's minimum is phi(256,256)=0 a...

mer än 4 år ago | 0 answers | 0

Question

If I have an array of 4 dimensions say A=complex(rand(2,2,2,2),rand(2,2,2,2)). If I need to calculate the inverse of this matrix, as defined beow , how should I do it?

I need to compute B(x,y,z,w) such that if I multiply the terms of A and B , I should get an identity matrix I(a,b,c,d): ...

mer än 4 år ago | 2 answers | 0

Question

Can I invert a 4 dimensional 5x5x5x5 array, with complex numbers as its elements?

If we have a matrix A(a,b;c,d), then would its inverse be B(c,d;a,b)?

mer än 4 år ago | 0 answers | 0

Question

How do I generate a 4 dimensional matrix of dimension 5x5x5x5 with random complex numbers as elements?

If I am successful to do so, can I invert the above matrix? Let us say I have A(a,b;c,d) as a 4-d matrix. If I invert this matri...

mer än 4 år ago | 2 answers | 0