필터 지우기
필터 지우기

plot an image using pulsating voltage

조회 수: 1 (최근 30일)
MANJUNATH
MANJUNATH 2012년 10월 18일
댓글: amogha 2021년 6월 18일
i have a data i.e voltage values which are varying at a faster rate ,
how to show them as a grayscale image with 32 by 32 size( there should be image with 32 by 32 pixels )
and what should be the range of the voltage values ?
  댓글 수: 1
amogha
amogha 2021년 6월 18일
a = csvread('lt1.csv');
B = rescale(a,0,255);
V=B
N = numel(V) ;
M = NaN(ceil(sqrt(N))) ;
M(1:N) = V ;

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by