필터 지우기
필터 지우기

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 CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by