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, 22.06.2019 23:30
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
question
Computers and Technology, 23.06.2019 02:50
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
Me dangers of social media and the internetexplain what each means: 1) social media and phones have become an addiction.2) outside people have access to you all the time.3) cyberstalking4) cyberbullying5) catphishing6) viruses7) identity theft8) credit card fraud9) hacking10) money schemes
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
Which computer tools allow you to communicate with coworkers, family,and friends
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
History, 26.08.2020 21:01
question
Physics, 26.08.2020 21:01