store or obtainn the data in the form of matrix

1 回表示 (過去 30 日間)
MANJUNATH
MANJUNATH 2012 年 10 月 19 日
hello
i am using data acquisition card(NI 6255) to get the data from the thermal sensor, at present or by default i'm able to get the voltage values in command window in 1 column ,
i want to get them as matrix of size 32 by 32 so that i can display them using imshow ...
please any one help .

採用された回答

Sachin Ganjare
Sachin Ganjare 2012 年 10 月 19 日
You can use 'reshape' command.
  3 件のコメント
MANJUNATH
MANJUNATH 2012 年 10 月 19 日
plz see n tell me is it right
data=getdata(ai); y=reshape(data,32,32); imshow(y) % ai is the analog input channel from which i am getting the values
MANJUNATH
MANJUNATH 2012 年 10 月 19 日
thanks Sachin ,
reshape works as per as my requirements are concerned , do u have any idea in DATA ACQUISITION ,
I HAVE SOME DOUBTS IN INTEGRATION TIME OF THE CARD

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Acquisition Toolbox Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by