resize matrix

MATLAB-specific help discussions.

resize matrix

Postby Manakamana » Thu Mar 22, 2012 9:49 am

Dear world,

I am seeking help to sort out a matlab problem.

I have got two large matrices with different size. For example

A= [1; 0; 2; 3; 4; 5];

B= [1; 2; 3; 5];


I want to make the matrix A similar size with B keeping only the cells that contain similar value of B matrix. Can anyone help me please.

Thanks for your help,

Mana
Manakamana
 
Posts: 1
Joined: Thu Mar 22, 2012 9:43 am

Return to MATLAB Help

Who is online

Users browsing this forum: No registered users and 3 guests

cron