Community Profile

photo

Abdul Quadir Khan


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

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

3 years ago | 0

Answered
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...

3 years ago | 0

Answered
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+...

3 years ago | 1

Answered
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);...

3 years ago | 0

Answered
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)....

3 years ago | 0

Answered
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...

3 years ago | 0