excel - Assign multiple variables (x, y, z) to a 2D array -
i have function signature
function [a] = code(x,y,z);
i have excel spreadsheet. 1024×1024 array have extracted 3d afm image, 1024 number of pixel , numbers in array height of surface.
how assign x
column, y
rows , z
numbers inside 2d array?
from have understood, -
z = xlsread(file); [x,y] = meshgrid(1:size(z,1),1:size(z,2)); out = code(x',y',z);
Comments
Post a Comment