Gurleen Singh
自 2018 起处于活动状态
Followers: 0 Following: 0
Feeds
已回答
Write a function called integerize that takes as its input a matrix A of integers of type double, and returns the name of the “smallest” signed integer class to which A can be converted without loss of information. If no such class exists, the text '
This is a bit simpler(but longer) code. function c = integerize(A) m = max(A(:)); n = min(A(:)); if n>=-128 && m<=...
Write a function called integerize that takes as its input a matrix A of integers of type double, and returns the name of the “smallest” signed integer class to which A can be converted without loss of information. If no such class exists, the text '
This is a bit simpler(but longer) code. function c = integerize(A) m = max(A(:)); n = min(A(:)); if n>=-128 && m<=...
6 years 前 | 0