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

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -