Community Profile

photo

RAMAKANT SHAKYA


Last seen: circa 4 anni fa Attivo dal 2019

Followers: 0   Following: 0

Contatto

Statistiche

  • Knowledgeable Level 1
  • Revival Level 2
  • First Answer

Visualizza badge

Feeds

Visto da

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

circa 5 anni fa | 0

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

circa 5 anni fa | 0

| accettato

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

circa 5 anni fa | 0

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

circa 5 anni fa | 0

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

circa 5 anni fa | 0

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

circa 5 anni fa | 0

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

circa 5 anni fa | 0

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

circa 5 anni fa | 0

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

circa 5 anni fa | 0

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

circa 5 anni fa | 0

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

circa 5 anni fa | 0