Community Profile

photo

saurav Tiwari


Last seen: 3 months ago
5 total contributions since 2020

saurav Tiwari's Badges

  • First Answer

View details...

Contributions in
View by

Answered
next prime number using While loops
function k=next_prime(n) k=k+1 while ~isprime(k) k=k+1 end end

4 months ago | 0

Answered
How to write function for above combine matrix?
function T=trio(n,m) a=ones(n,m);b=2*a;c=3*a; T=[a;b;c]; end

5 months ago | 1