plot an image using pulsating voltage
5 views (last 30 days)
Show older comments
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 Comment
amogha
on 18 Jun 2021
a = csvread('lt1.csv');
B = rescale(a,0,255);
V=B
N = numel(V) ;
M = NaN(ceil(sqrt(N))) ;
M(1:N) = V ;
Answers (0)
See Also
Categories
Find more on Display Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!