Community Profile

Last seen: quasi 3 anni fa Attivo dal 2020

#### Content Feed

Visto da

Risposto
Data Entry with struct
function database = voters(di,varargin) if isempty(di) database = struct('Name', {}, 'ID', {}); end if r...

quasi 3 anni fa | 0

Risposto
name value pairs with variable input arguments
function db = name_value_pairs(varargin) if rem(nargin,2) ~= 0 || nargin < 2 db = {}; return end if ~ischar(vararg...

quasi 3 anni fa | 0

Risposto
I meet some problem in my coursera homework Echo Generator
function [output]= echo_gen(input,fs,delay,amp) [r,c] = size(input); extraEchoTime = round(delay*fs); echoSignal = zeros(r+...

quasi 3 anni fa | 1

Risposto
Write a function called blur that blurs the input image
function out = blur(img,w) % convert to double for doing calculations imgD = double(img); [row, col] = size(img);...

quasi 3 anni fa | 0

Risposto
how to find the element which is greater than or equal to its row and smaller or equal to its column in a matrix
function indices = saddle(M) row_max = max(M,[],2); col_min = min(M,[],1); [row,col]=find((M == row_max)....

quasi 3 anni fa | 0

Risposto
I get an error, what's wrong? on Sparse matrix logic and answer
function matrix = sparse2matrix (cellvec) m = cellvec{1}(1,1); n = cellvec{1}(1,2); defult = ones(m,n) .* cellvec...

quasi 3 anni fa | 0