photo

RAGHAVENDRA


Last seen: ongeveer een maand ago Active since 2014

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
I want to add a 20 by 20 matrix to a 50 by 50 matrix ? the resuting matrix should be of 50 by 50 .
A=5*ones(50) B=zeros(50); B(1:20,1:20)=2*ones(20); C=A+B;

meer dan 9 jaar ago | 0

| accepted

Answered
How to arrange rows of a matrix to get a specific column in order?
You can do the following way: let us say i want to sort X according to 5th column, then: X=randi(5,[10 10]);% 10X10 ra...

meer dan 9 jaar ago | 0

Answered
Central part of a matrix
M_central=M(floor(size(M,1)/2)-floor(s/2):floor(size(M,1)/2)+floor(s/2),floor(size(M,2)/2)-floor(s/2):floor(size(M,2)/2)+floor...

meer dan 9 jaar ago | 0

Answered
how to delete all the elements from the matrix?
Are you trying to make the matrix as null matrix or want to replace the elements with zeros(erasing the values). In the former c...

meer dan 10 jaar ago | 0

Answered
How to create a matrix from a for loop answer?
In addition to the Walter Roberson’s advice. I would like to say that. As per your program at line 45: _if y<0 y=0; end...

meer dan 10 jaar ago | 0