photo

Shantanu Nighot


Last seen: fast 3 Jahre vor Aktiv seit 2020

Followers: 0   Following: 0

Nachricht

Statistik

All
  • First Answer
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
Write a function max_sum that takes v a row vector of numbers & n,a positive integer as inputs.The function needs to find n consecutive elements of v whose sum is largest possible.It returns summa & index of first element of n consecutive integers.
% Here is the working code for This Problem statement function [summa index] = max_sum(v,n) ii = 1; jj = n; % Initialize sum...

mehr als 3 Jahre vor | 1

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

fast 4 Jahre vor

Gelöst


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

etwa 4 Jahre vor

Gelöst


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

etwa 4 Jahre vor

Gelöst


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

etwa 4 Jahre vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

etwa 4 Jahre vor