MATLAB Answers


retrieve one row from matfile

Asked by Elysi Cochin on 25 Jan 2013

i have a matfile with 127*133 values..... i want the 133 values of a particular row.... how to get those values.... please do reply.....




No products are associated with this question.

1 Answer

Answer by Shashank Prasanna
on 25 Jan 2013
 Accepted answer

load matfile_name

if the variable with the matrix with 127*133 is X


 >> X(1,:) 

will return all the 133 values of the 1st row.


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!