Borrar filtros
Borrar filtros

how to get this right?

1 visualización (últimos 30 días)
riki singh
riki singh el 10 de En. de 2023
Comentada: Walter Roberson el 10 de En. de 2023
x = rand(30) * 25;
y = rand(30) * -28;
z = complex(x, y);
Z=ifft2(z);
Z = ifft2(y,8,8);
Z=size(Z);
is it possible to convert 2 D matrix into 3 D matrix ?
once i get 3D matrix
then
A(a,b,c)=Z
a=(x^2+y^2+2*z)/2*x;
so now i want Z terms which is in Z(x,y,z) terms into A(a,b,c)
2021a version
  1 comentario
Walter Roberson
Walter Roberson el 10 de En. de 2023
Z=ifft2(z);
Z = ifft2(y,8,8);
Z=size(Z);
why do you overwrite the first Z calculation with the results of a different ifft2? And why do you overwrite the results of that with the size of the second ifft2?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Numeric Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by