plot an image using pulsating voltage

3 次查看(过去 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 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by