photo

RAMAKANT SHAKYA


Last seen: 5 years ago Active since 2019

Followers: 0   Following: 0

Message

Statistics

  • Knowledgeable Level 1
  • Revival Level 2
  • First Answer

View badges

Feeds

View by

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

5 years ago | 0

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

5 years ago | 0

| accepted

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

6 years ago | 0

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

6 years ago | 0

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

6 years ago | 0

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

6 years ago | 0

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

6 years ago | 0

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

6 years ago | 0

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

6 years ago | 0

Answered
How can I solve this problem?
function out=circular_primes(no) prim=primes(no);% find the all prime number till the given number pr=0; nos=[]; po=[]; for...

6 years ago | 0

Answered
Number of first days of the month equals to Mondays
function counter=day_counter(y) counter=0; year=rem(y,100); % no of years in century lp=fix(year/4); %leap year if y~=19...

6 years ago | 0