Community Profile

photo

Abdul Quadir Khan


Last seen: nästan 2 år ago Active since 2020

Statistics

  • First Answer

View badges

Content Feed

View by

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

nästan 2 år 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...

nästan 2 år 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+...

nästan 2 år 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);...

nästan 2 år 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)....

nästan 2 år 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...

nästan 2 år ago | 0