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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -