photo

Sreedhar Arumugam


Last seen: alrededor de 3 años hace Con actividad desde 2021

Followers: 0   Following: 0

Estadística

All
  • Knowledgeable Level 1
  • Solver
  • First Answer

Ver insignias

Feeds

Ver por

Resuelto


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

alrededor de 3 años hace

Resuelto


Find the peak 3n+1 sequence value
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...

alrededor de 3 años hace

Resuelto


Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

alrededor de 3 años hace

Resuelto


Remove the polynomials that have positive real elements of their roots.
The characteristic equation for a dynamic system is a polynomial whose roots indicate its behavior. If any of the roots of the p...

alrededor de 3 años hace

Resuelto


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

alrededor de 3 años hace

Respondida
Overfitting in Neural Network
You could use the accuracy metric from the confusion matrix to determine if the model is overfitting. The performance can be m...

alrededor de 3 años hace | 0

Respondida
Iteratively solving equations in MATLAB
You can find a similar MATLAB answer to <https://in.mathworks.com/matlabcentral/answers/490875-solve-an-equation-through-iter...

alrededor de 3 años hace | 0

Respondida
a code that compute numbers and numbers does not !
I am assuming you want to compute interest based on the frequency of compounding. Your switch statement is with respect to n...

alrededor de 3 años hace | 0

Resuelto


Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

alrededor de 3 años hace

Resuelto


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

alrededor de 3 años hace

Resuelto


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

alrededor de 3 años hace

Resuelto


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

alrededor de 3 años hace

Resuelto


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

alrededor de 3 años hace

Resuelto


Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

alrededor de 3 años hace

Resuelto


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

alrededor de 3 años hace

Resuelto


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

alrededor de 3 años hace

Resuelto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

alrededor de 3 años hace

Resuelto


QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a standard U.S. QWERTY keyboard and it...

alrededor de 3 años hace

Resuelto


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

alrededor de 3 años hace

Respondida
How to change Axes values to 'String' instead of 'numbers' on Simulink Scope?
It is my understanding that you are asking why the y-axis is displaying the values as strings such as 'first', 'second' and so o...

alrededor de 3 años hace | 0

Respondida
Help, how to replace the values of a ones matrix with vectors in each column
I am assuming you are solving a PDE in 1 dimension. You can check out MATLAB's PDE solver which returns the solution as a 3-D ar...

alrededor de 3 años hace | 0

Resuelto


Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

alrededor de 3 años hace

Resuelto


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

alrededor de 3 años hace

Resuelto


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

alrededor de 3 años hace

Resuelto


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

alrededor de 3 años hace

Respondida
How to convert decimal to binary which includes decimal values for eg 1.25.
It is my understanding that you want to convert a floating point number in decimal format to its binary equivalent. The de2bi a...

alrededor de 3 años hace | 0

| aceptada

Respondida
How to plot or mark the centroid of each cluster in the output image?
I am assuming you're using the built-in function of MATLAB to perform k-means clustering of your data. [idx,C] = kmeans(data,6)...

alrededor de 3 años hace | 0

Respondida
Simple question for using 'for loop'
Your code always iterates over the odd indices from 1 to 10. Line 2 of your code -> a(n) = 2^n stores the values in a(1), a(3),...

alrededor de 3 años hace | 0

Cargar más