photo

Pranavkumar Mallela


Last seen: 1년 초과 전 2023년부터 활동

Followers: 0   Following: 0

통계학

All
  • Knowledgeable Level 2
  • Promoter
  • Solver
  • First Answer

배지 보기

Feeds

보기 기준

답변 있음
How to access the Nth element of 1x1 struct with 5 fields?
Hi Hasan, I understand that you want to access the nth field in a struct. As Dyuman indicated, you can use the ''fieldnames" fu...

1년 초과 전 | 1

| 수락됨

답변 있음
How to assign value 2 for >=90 percentile and 1 for < 90 percentile in a single column matrix?
Hi, I understand that you want to replace values in a column matrix depending on whether the element is greater than or lesser...

1년 초과 전 | 0

문제를 풀었습니다


Getting Maximum Chocolate
John loves Chocolate but he didn't have money. The owner of "Sweet Chocolate" launches a scheme for free chocolate. He divided a...

1년 초과 전

답변 있음
Plot a nx2 matrix as points
Hi Jorge, I understand that you want to plot the points obtained from a given nx2 matrix. It can be done by extracting the x, ...

1년 초과 전 | 0

답변 있음
How can I calculate the average deviation for two values that are in two separate variables files?
Hi Francisca, As per my understanding you want to access a variable in one file that is defined in another. To do this, you can...

1년 초과 전 | 0

| 수락됨

답변 있음
Estimating the decay parameter in Exponentially Weighted Moving Average (EWMA) model
Hi, As per my understanding, you want to estimate the decay parameter using a non-linear fitting function. This can be done us...

1년 초과 전 | 0

답변 있음
How to edit the coordinate position of any element in a rectangleArray in antenna toolbox
Hi, As per my understanding, you want to create an array with customizable antenna positions using 'rectangularArray'. Howeve...

1년 초과 전 | 0

문제를 풀었습니다


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

1년 초과 전

문제를 풀었습니다


Inner product of two vectors
Find the inner product of two vectors.

1년 초과 전

문제를 풀었습니다


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

1년 초과 전

문제를 풀었습니다


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

1년 초과 전

문제를 풀었습니다


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

1년 초과 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

1년 초과 전

문제를 풀었습니다


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

1년 초과 전

문제를 풀었습니다


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

1년 초과 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

1년 초과 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

1년 초과 전

문제를 풀었습니다


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

1년 초과 전

문제를 풀었습니다


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

1년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


Find the max element of the array
Find the max element of the array

1년 초과 전

문제를 풀었습니다


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

1년 초과 전

더 보기