Community Profile

# Sree Veepuri

##### Last seen: 12 days ago
11 total contributions since 2016

View details...

Contributions in
View by

Solved

Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

21 days ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

21 days ago

Solved

Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

21 days ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

21 days ago

Solved

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

21 days ago

Solved

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

21 days ago

Question

Output 'y' has variable size but the upper bound is not specified; explicit upper bound must be provided.
y = 10 coder.varsize('y', [1,20000]); These lines of code are inside a for loop and I expect the size of the variable y to i...

1 month ago | 0 answers | 0

### 0

Solved

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

1 month ago

Question

Unable to open openExample('nav/GenerateAlternativeTrajectoriesForReferencePathExample')
I am unable to use the command referencePathFrenet. i get the following message ->Unrecognized function or variable 'referencePa...

2 months ago | 1 answer | 0

### 1

Question

How can I pass a anonymous function as an output to another function?
function [a0,a1,a2]= fcn(s,v,a,T) %a0,a1,a2 are coefficients of a polynomial which are calculated based on inputs s,v,a,T end ...

2 months ago | 1 answer | 0