subject

Write a function called border. It should have two inputs: an m x n matrix named in1 and a scalar (i. e. a single number) double named in2. It should have one output, an m 2 x n 2 matrix out. out should be in 1 with a border of the number contained in in2. If in1 was ones(3,3), a 3 x 3 matrix filled entirely with the number 1, and in2 was 3, out would be the matrix:

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:00
While inserting images, the picture command is usually used to insert photos from a digital camera, and the clip art command is usually used to a.edit the sizes and other characteristics of photos that have been inserted. b.take a screenshot of an image and copy it to the clipboard for pasting. c.search for drawings or other images from a library of prepared pictures. d.make illustrations using lines and shapes that are easy to manipulate.
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Guys do you know sh27 cause he hacked me : ( pidgegunderson my old user
Answers: 2
question
Computers and Technology, 24.06.2019 16:50
How many types of string types does python support?
Answers: 1
You know the right answer?
Write a function called border. It should have two inputs: an m x n matrix named in1 and a scalar (i...
Questions
question
Chemistry, 24.10.2021 03:10
question
History, 24.10.2021 03:20
Questions on the website: 13722360