Community Profile

photo

Sree Veepuri


Last seen: 3 years ago Active since 2016

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 2
  • Solver
  • Thankful Level 1

View badges

Feeds

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

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

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

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

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

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

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

3 years ago | 0 answers | 0

0

answers

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

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

Question


May i know the relation between dare command usage and optimal control concept of cost function?
Optimization is the process finding a control law which reduces the cost function. This is the question i am referring to: ...

8 years ago | 0 answers | 0

0

answers