Community Profile

# 昱安 朱

Last seen: 6 giorni fa Attivo dal 2023

#### Content Feed

Visto da

Risposto
Generate echo to an audio
function output = echo_gen(input, fs, delay, amp) %input : signal,fs : sample rate,dalay : time of dalay,amp : amplitude num_d...

2 mesi fa | 0

Risposto
Write a function called blur that blurs the input image
function output = blur(img,w) [row_img,col_img]=size(img); output=zeros(row_img,col_img); imgd=double(img); % must convert...

2 mesi fa | 0

Risposto
I get an error, what's wrong? on Sparse matrix logic and answer
function matrix=sparse2matrix(cellvec) matrix=cellvec{2}*ones(cellvec{1,1}); for ii=3:length(cellvec) matrix(cellvec{i...

3 mesi fa | 0

Risposto
caesar cyphor encryption problem .
function [coded]=caesar(encrypt,shift) coded_num=encrypt+shift; big=coded_num(coded_num>126); small=coded_num(cod...

3 mesi fa | 0

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

3 mesi fa | 0