photo

thaer


Active since 2013

Followers: 0   Following: 0

Message

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
226,629
of 302,402

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,792

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 182,227

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

Question


function HW02P02_208117184 clc A=[5 4 1; 2 6 4; 9 6 5 ] a=size(A); t=0; A=sort(A) for i= 1:a(1) b(i,:)= sort(A(i,:)); B=[b(i,:); end
function HW02P02_208117184 clc A=[5 4 1; 2 6 4; 9 6 5 ] a=size(A); t=0; A=sort(A) for i= 1:a(1) ...

14 years ago | 2 answers | 0

2

answers

Question


Write a MATLAB function that sorts all elements of the matrix ascending order. The output matrix has the same dimension of the original matrix and the elements are sorted horizontally
A=[5 4 1; 2 6 4; 9 6 5 ] a=size(A); t=0; A=sort(A) for i= 1:a(1) t=t+1; b(i,:)= A(i,:); b(t,:)=sort(b(i...

14 years ago | 1 answer | 0

1

answer