photo

Saviyo Therattil


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

All
MATLAB Answers

2 Questions
0 Answers

Cody

0 Problems
29 Solutions

RANK
181,923
of 300,338

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 20,922

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
14,585
of 168,149

CONTRIBUTIONS
0 Problems
29 Solutions

SCORE
376

NUMBER OF BADGES
2

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Community Group Solver
  • Solver

View badges

Feeds

View by

Question


Swap the First and Last Column (CODY)
function B = swap_ends(A) X = A(:,end); C = A(:,1); A(:,1) = X; A(:,end) = C; B = A; end How do I reduce it int...

4 years ago | 1 answer | 0

1

answer

Question


How do I find the nearest prime number greater than the input? This is what I've managed to do so far...
function out = next_prime(X) out = 0; n = 0; while out == isprime(X) n = n + 1; out = out + n + X; ...

5 years ago | 1 answer | 0

1

answer