Ho to plot a pressure map?

57 ビュー (過去 30 日間)
Mirco Puviani
Mirco Puviani 2016 年 3 月 1 日
コメント済み: Mingde 2022 年 4 月 6 日
Hi everybody, my question is the following: i should plot a pressure map starting from the data acquired from few pressure sensors (let's say 16). Till now i've acquired the data and i've saved them into a 4x4 matrix, where every element corresponds to a sensor. I'd like to plot a pressure map, something like this:
Obviously, I would need a larger number of values but i'm limited in the number of sensors. My starting idea was to convert the 4x4 matrix in a bigger matrix (for example a 50x50) where the value of the elements between 2 known elements depends on the value of these known elements. Is there anyone who knows a function useful for my purposes or a solution to my problem?
Thanks a lot, I hope my description was clear enough
  2 件のコメント
Laura Osorio Gonzalez
Laura Osorio Gonzalez 2016 年 7 月 28 日
Hey, I am very sorry I cant provide you with an answer, rather than the opposite. I am working on a project that sounds the same as yours,just rather a little more extensive. I read that you said you accomplished the data and saved it into a matrix. Could you maybe share the code with me, or helo me accomplish this? Thanks alot for your help!
Mingde
Mingde 2022 年 4 月 6 日
Hello all,
I need the code of this matrix too. please provide us the code of this matrix.

サインインしてコメントする。

回答 (3 件)

Image Analyst
Image Analyst 2016 年 3 月 1 日
imresize() will change the size of an image. imshow() will let you display it. colormap() will apply various colormaps. text() will let you put up text strings in the overlay.
  2 件のコメント
Mirco Puviani
Mirco Puviani 2016 年 3 月 1 日
You probably didn't get the point
Image Analyst
Image Analyst 2016 年 3 月 1 日
Then help us help you by reading this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer. For example, give us some data or code. Otherwise we don't know what you're starting with. All we know is what you want, and for all we know, you might have snagged that desired image from some paper or web site and not from your code. If we don't have what you're starting with, it's impossible to know how to transform it into something that you want.

サインインしてコメントする。


lvn
lvn 2016 年 3 月 1 日
Looks to me like you are looking for an interpolation function to move to a finer grid. See here for the 2D version: http://mathworks.com/help/matlab/ref/interp2.html
  1 件のコメント
Image Analyst
Image Analyst 2016 年 3 月 1 日
Well, imresize() will do that, but after I suggested that he said I didn't get his point.

サインインしてコメントする。


Jose Martinez
Jose Martinez 2018 年 12 月 5 日
Hello,
I have the same doubt, but I don't see clear the anwsers. Could you or anyone please help me?
  2 件のコメント
Image Analyst
Image Analyst 2018 年 12 月 5 日
Start a new question, attach your data, and somehow create a picture of what you want and post it. And say why imresize() didn't work for you. Maybe you want griddedInterpolant().
Jose Martinez
Jose Martinez 2018 年 12 月 6 日
Thank you so much, I will do it after trying with griddedInterpolant().

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeOrange についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by