Taif Ahmed BIpul
Followers: 0 Following: 0
Statistics
0 Questions
6 Answers
RANK
21.874
of 295.448
REPUTATION
2
CONTRIBUTIONS
0 Questions
6 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
1
RANK
of 20.227
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153.872
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
[Assignment]Write a function called saddle that finds saddle points in the input matrix M.
function indices=saddle2(M) k=0; indices1=zeros(k); indices2=zeros(k); rowIndices=zeros(k); colIndices=zeros(k); for i=1:s...
meer dan 4 jaar ago | 0
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) [~,~,All]=xlsread('Distances.xlsx'); p=strcmp(All,A); q=strcmp(All,B); r=sum(p(:)); s=s...
meer dan 4 jaar ago | 1
I get an error, what's wrong? on Sparse matrix logic and answer
function matrix=sparse2matrix(cellvec) m=ones(cellvec{1}(1),cellvec{1}(2)); m=m.*cellvec{2}; for i=3:length(cellvec) m(cellv...
meer dan 4 jaar ago | 0
caesar cyphor encryption problem .
function coded=caesar(v,n) x=double(v)+n; q=x(x<32); p=x(x>126); while q<32; x(x<32)=x(x<32)+95; q=x(x<32); end ...
meer dan 4 jaar ago | 0
Write a function called max_sum that takes v, a row vector of numbers, and n, a positive integer as inputs. The function needs to find the n consecutive elements of v whose sum is the largest possible.
function[summa,index]=max_sum(v,n) if size(v,2)<n summa=0; index=-1; return end p=size(v,2)-(n-1); k=1; A=...
meer dan 4 jaar ago | 0
Write a function called halfsum that takes as input an at most two-dimensional array A and computes the sum of the elements of A that are in the lower right triangular part of A
function summa=halfsum(A) [m,n]=size(A); summ=0; for i=1:m for ii=i:n summ=summ+A(i,ii); end end summa=s...
meer dan 4 jaar ago | 0