# RAMAKANT SHAKYA

Last seen: mer än 4 år ago Active since 2019

Followers: 0   Following: 0

#### Feeds

View by

I am working on homework but i cannot figure out what is wrong
whenever you do array multiplication the no of elements in both array must be same or multiply with a constt number with array o...

mer än 5 år ago | 0

How do I calculate the difference between the elements of two vectors given a condition ?
for given vector x and y; x= [106, 306, 407, 607] % given x vector y = [101, 201, 301, 401, 501] %givrn y vector d=[]; for...

mer än 5 år ago | 0

| accepted

Coding taylor approximation of natural log
if you want to calculate log(1.9) and x=0.9 then you have apply taylor series log(1+x) see formula form google and change in to ...

mer än 5 år ago | 0

How to do it?
function s=halfsum(a) [m,n]=size(a); s=0; a=flip(a); for r=1:m for c=n:-1:r s=s+a(r,c); end en...

mer än 5 år ago | 0

A function called small_elements that takes as input an array named X that is a matrix or a vector. Could you help me to understand the meaning?
function ind=small_elements(v) [m,n]=size(v); j=0; ind=[]; for c=1:n for r=1:m if (r*c) > v(r,c) ...

mer än 5 år ago | 0

Indexing & Move Me function
function out= move_me(v,a) s=length(v); if nargin < 2 %for validation of input a=0; end for x=1:s if v(x)==a %co...

mer än 5 år ago | 0

How to transform years into centuries
function s= centuries(n) p={'I','II','III','IV','V','VI','VII','VIII','IX','X','XI','XII','XIII','XIV','XV','XVI','XVII',' XVII...

mer än 5 år ago | 0

Hey Guys can you help me with that.
function s2=dial(n) p=[n]; s1=''; tx = ismember(p, ['A':'Z','0':'9']);%only digits and capital letters tx1=sum(tx); if leng...

mer än 5 år ago | 0

Can anyone help me with this question..?
function s2=dial(n) p=[n]; s1=''; tx = ismember(p, ['A':'Z','0':'9']);%only digits and capital letters tx1=sum(tx); if leng...

mer än 5 år ago | 0