Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: square matrix m
Replies: 3   Last Post: Jan 26, 2014 9:59 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
hola

Posts: 2
Registered: 1/25/14
square matrix m
Posted: Jan 25, 2014 10:24 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Write a MATLAB function [M] = CornerZero(M) to modify M making zero the elements of the matrix fourn corners.

17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2 9

becomes

0 0 1 0 0
0 5 7 14 0
4 6 13 20 22
0 12 19 21 0
0 0 25 0 0

plis help me.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.