matlab - How to resize 28x28 pixels image to 20x20 pixels? -


i want pixels in size 20x20 when imported mnist in 28x28 pixels. how can convert 20x20 pixels in matlab?

based on matlab documentation, can use following imresize syntax it:

b = imresize(a, [20 20]) 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -