Mega Search
23.2 Million


Sign Up

Make a donation  
matrice  
News Group: comp.soft-sys.matlab

hi, I have matrice m,size (m)=2x259 .how I can complete the matrix m by zeros to get size(m)=2x297
thanks 

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 26-Aug-2016, at 2:24 PM EST
From: dalbouchi roukaya
 
Re: matrice  
News Group: comp.soft-sys.matlab
thanks :)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 26-Aug-2016, at 2:46 PM EST
From: dalbouchi roukaya
 
Re: matrice  
News Group: comp.soft-sys.matlab
On 08/26/2016 9:24 AM, dalbouchi roukaya wrote:
> hi, I have matrice m,size (m)=2x259 .how I can complete the matrix m by
> zeros to get size(m)=2x297

N=297;
[r,c]=size(m);
m=[m zeros(r,N-c)];


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 26-Aug-2016, at 9:38 AM EST
From: dpb