Завершено

Speed Up griddedInterpolant Matlab

Hi!

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!

Best,

Corina.

Квалификация: MATLAB, Computer Science, Техника, Алгоритмы

Показать больше 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

О работодателе:
( 1 отзыв ) New York, United States

ID проекта: #21562856

Поручен:

hosseinmonsefi

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 Больше

$50 USD за 2 дней(-я)
(17 отзывов(-а))
4.1

5 фрилансеров(-а) в среднем готовы выполнить эту работу за $194

liveexperts123

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 Больше

$500 USD за 7 дней(-я)
(24 отзывов(-а))
6.6
Valuesolutions

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

$250 USD за 7 дней(-я)
(25 отзывов(-а))
4.9
hayteekeys

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. ( Больше

$30 USD за 1 день
(0 отзывов(-а))
0.0
writinginvaderz

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 Больше

$140 USD за 3 дней(-я)
(0 отзывов(-а))
0.0