how to resize a matrix?
Ältere Kommentare anzeigen
I have a matrix A of dimension 129*135. I want to make it 135*135 by adding some NaN values. How is it possible in a simple way?
Akzeptierte Antwort
Weitere Antworten (1)
Phillip
am 20 Nov. 2014
Hi
There are a number of ways you can do this. At the command prompt type:
help vertcat
and
help nan
This will get you started. Matlab's very powerful at indexing etc. So reading through the basic tuturials and examples will get you started quickly
Regards, Phil
1 Kommentar
trailokya
am 20 Nov. 2014
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!