Speed Up griddedInterpolant Matlab


I am writing Matlab code for a project and a portion of my code is a bit of a bottleneck. I suspect it can be improved and I was hoping to get some help on that.

I have a function of 3 variables: v(x,y,z). In the attached main.m file I construct the grids for the variables x, y, z and I define the function v(x,y,z). The construction of the grid requires an external routine, gridmake.m, which I also attached.

Going forward, I want to interpolate the function v at values of x that are not necessarily on the grid. Very importantly, the values of y and z are always going to be on the grid.

Currently, I use griddedInterpolant for a 3-D interpolation, but I suspect the way I do it is too time consuming, because it does not exploit the fact that y and z are always going to be on the grid, and it is just x that will not. I will want to do this interpolation many times, so it is important that it is done most efficiently.

The attached main.m file is a short code that illustrates the problem I have. The blocks of the code have comments, describing the content, but I am happy to answer any questions you may have.

Thanks and I look forward to working with you!



Habilidades: MATLAB, Computer Science, Engenharia, Algoritmo

Veja mais: speed comparison mathematica matlab, simulation speed control motor matlab orcad, speed up data, speed up excel file, speed up magento, speed up my website, speed up my, speed up wordpress site, speed up , how to speed up my imac, speed up my imac, speed up my pc virus, speed up wordpress, developer wordpress speed up site, hire freelancer to speed up joomla site, hire to speed up your shopify site, how to speed up android, how to speed up my android phone, speed up android, speed up android phone

Acerca do Empregador:
( 1 comentário ) New York, United States

ID do Projeto: #21562856

Concedido a:


Hi Corina, We hope you are doing well, We are 2 master students of Politecnico di Milano which is a high-rank university in the world. We finished our bachelor's in Mechanical Engineering and We have a lot of experien Mais

$50 USD em 2 dias
(17 Comentários)

5 freelancers estão ofertando em média $194 para esse trabalho


Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the Mais

$500 USD in 7 dias
(24 Comentários)

Hello, i have read the details provided..please contact me to discuss more on the project deadline and some other few things

$250 USD in 7 dias
(25 Comentários)

Hello, I am an MSC majored in mathematics. I have rich exp in ACM/ICPC and deep understandings of algorithms. I attended at ACM regional contest several times and won medals there. I am an MSc majored in mathematics. ( Mais

$30 USD em 1 dia
(0 Comentários)

I have been in this field for 7 years. In these years i have made Thesis, assignments and projects for Ms, PHd, Bs, M. Phil level for Uk, US, Oman, india, Pakistan, Australia Universities. I assure you to get your wor Mais

$140 USD in 3 dias
(0 Comentários)