![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/16395353_1588759632555.jpg)
Arafat Roney
N/A
Followers: 0 Following: 0
I am a student at University of Dhaka and studying Electrical and Electronic Engineering.
Feeds
답변 있음
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...
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...
거의 5년 전 | 2
답변 있음
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);...
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);...
거의 5년 전 | 2
답변 있음
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...
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...
거의 5년 전 | 0
답변 있음
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+...
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+...
거의 5년 전 | 0
답변 있음
Generate echo to an audio
function output = echo_gen(input, fs, delay, amp) ds = round((delay)*fs); %%CALCULATING DELAY SAMPLE NUMBERS if ds==0 ...
Generate echo to an audio
function output = echo_gen(input, fs, delay, amp) ds = round((delay)*fs); %%CALCULATING DELAY SAMPLE NUMBERS if ds==0 ...
거의 5년 전 | 3
답변 있음
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=...
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=...
거의 5년 전 | 0
답변 있음
[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...
[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...
거의 5년 전 | 5
답변 있음
Write a function called get_distance that accepts two character vector inputs representing the names of two cities. The function returns the distance between them as an output argument called distance. For example, the call get_distance('Seattle, WA'
function distance=get_distance(a,b) [~,~,raw]=xlsread('Distances.xlsx'); row=raw(1,:); col=raw(:,1); for ii=2:length(row) ...
Write a function called get_distance that accepts two character vector inputs representing the names of two cities. The function returns the distance between them as an output argument called distance. For example, the call get_distance('Seattle, WA'
function distance=get_distance(a,b) [~,~,raw]=xlsread('Distances.xlsx'); row=raw(1,:); col=raw(:,1); for ii=2:length(row) ...
거의 5년 전 | 4