Community Profile

photo

Arafat Roney


N/A

Last seen: plus de 3 ans il y a Actif depuis 2020

I am a student at University of Dhaka and studying Electrical and Electronic Engineering.

Statistiques

  • First Answer

Afficher les badges

Content Feed

Afficher par

A répondu
Function to find the next prime number...
function k=next_prime(n) i=n+1; if(isprime(i)) k=i; else while(~isprime(i)) i=i+1; end k=i; end...

presque 4 ans il y a | 2

A répondu
Write a function called sparse2matrix that takes a single input of a cell vector as defined above and returns the output argument called matrix, the matrix in its traditional form
function matrix=sparse2matrix(p) m=p{1}(1,1); n=p{1}(1,2); o=p{2}(1,1); s=o.*ones(m,n); for i=3:length(p) r=p{i}(1,1);...

presque 4 ans il y a | 2

A répondu
Date Validation Logic and Error message
function valid=valid_date(year,month,day) if((isscalar(year))&&(isscalar(month))&&(isscalar(day))) if((year==abs(fix(yea...

presque 4 ans il y a | 0

A répondu
caesar cyphor encryption problem .
function coded=caesar(c,s) n=mod(s,95); sc=c+n; l=length(sc); w=[]; for i=1:l if sc(i)>126 p=31+...

presque 4 ans il y a | 0

A répondu
Generate echo to an audio
function output = echo_gen(input, fs, delay, amp) ds = round((delay)*fs); %%CALCULATING DELAY SAMPLE NUMBERS if ds==0 ...

presque 4 ans il y a | 3

A répondu
Write a function called blur that blurs the input image
help me finding out the error....this shows "The server timed out while running and assessing your solution.'' function output=...

presque 4 ans il y a | 0

A répondu
[Assignment]Write a function called saddle that finds saddle points in the input matrix M.
function in=saddle(M) [m,n]=size(M); %%SIZE CALCULATED in=[]; %%'in' IS INITIALIZED AS AN EMPTY MATRIX for ii=1...

presque 4 ans il y a | 5