plot an image using pulsating voltage

5 visualizzazioni (ultimi 30 giorni)
MANJUNATH
MANJUNATH il 18 Ott 2012
Commentato: amogha il 18 Giu 2021
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 Commento
amogha
amogha il 18 Giu 2021
a = csvread('lt1.csv');
B = rescale(a,0,255);
V=B
N = numel(V) ;
M = NaN(ceil(sqrt(N))) ;
M(1:N) = V ;

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Display Image in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by