MATLAB: Copying data copying data Hi, I have data stored as (2*2*2000).I want to copy the first (2*2*1000) values..how can i do this in matlab??? –vinoth Best Answer X = randn(2,2,2000);Y = X(:,:,1:1000);Y copies the first 1000 elements of X along the 3rd dimension. Related SolutionsMATLAB: Cellfun couple inpolygon query_x = 1.63;query_y = 1.05;does_it_match = cellfun(@(poly) inpolygon(query_x, query_y, poly(:,1), poly(:,2)), parameter) MATLAB: How to double the data in x axis plot x = [1000 2000 3000 4000 5000 6000];plot(x*2,y_name); % y_name is variable name of your y-axis data Related QuestionCopy XLS SheetHow to transform a 2×5184 data setCopy figure to clipboard
Best Answer