3D Matrix to present the solution
1 view (last 30 days)
Show older comments
Hello evreybody, I hope you are all fine.
I have a 3D solution presneted in arbitrary vector of size N=nx*ny*nz, Sol= [ sol_[1]; sol_[2];......;sol_[N]]; such as the solution sol_[i] is associated to (xi,yi,zi).
in order to present the 3D solution, Can someone suggest me some solution to transform the vector Sol to a matrix forme of size nx*nx*nz.
Exemple: instead of size(Sol)=N*1, must be Size(Sol)=Nx*Ny*Nz
Thank you
3 Comments
Matt J
on 22 Apr 2021
Omar Idriss's posted question:
Hello evreybody, I hope you are all fine.
I have a 3D solution presneted in arbitrary vector of size N=nx*ny*nz, Sol= [ sol_[1]; sol_[2];......;sol_[N]]; such as the solution sol_[i] is associated to (xi,yi,zi).
in order to present the 3D solution, Can someone suggest me some solution to transform the vector Sol to a matrix forme of size nx*nx*nz.
Exemple: instead of size(Sol)=N*1, must be Size(Sol)=Nx*Ny*Nz
Thank you
Answers (0)
See Also
Categories
Find more on Animation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!