Community Profile

photo

Manali Gupta


Active since 2019

Statistics

All
  • Revival Level 2
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
Given a Matrix A, create a row vector of 1s that has same number of elements as A has rows
R_vector = ones(1,size(A,1)); C_vector=ones(size(A,2),1); result = R_vector*A*C_vector;

3 years ago | 9

| accepted

Solved


Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

4 years ago

Solved


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

4 years ago

Solved


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

4 years ago

Solved


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

4 years ago

Answered
"Add-On Explorer not working" in Matlab 2018b / Win10 64-bit
Hi Sudesh, Please refer this link.

5 years ago | 0

Answered
how can i use filter for voice signal ??
Hi Hazuri, You can take help from these links audio filter and filter design

5 years ago | 0

Answered
Which Simulink block can receive different types of Signals as Input and give output accordingly?
Hi Sunil, You can use matlab function block to receive different types of SIgnals as Inputs and process them as you want. If y...

5 years ago | 0

| accepted

Answered
Differentiate function by a function
Hi Moritz, Here theta(t) is not a symbolic variable but a symbolic function. You can differentiate a symbolic expression only w...

5 years ago | 0

Answered
Writing code to implement Runge-Kutta methods 1 and 4 for a second order nonlinear ODE
Hi, Attached file trk.m calculates the derivatives of the variables. The RK4 algorithm to solve the set of equations is implem...

5 years ago | 0

Answered
how to create a simscape model of a cantilever beam?
Hi Thanga, You can use the general flexible beam model from the simscape multibody library to model a beam.

5 years ago | 1

Solved


Extract leading non-zero digit
<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

5 years ago

Solved


Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

5 years ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

5 years ago

Solved


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

5 years ago

Solved


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

5 years ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

5 years ago

Solved


Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

5 years ago

Solved


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

5 years ago

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

5 years ago

Answered
what is model assessment block in simulink onramp
Hii, It is a Subsystem Block. For knowing more properties right click on the block and select properties.

5 years ago | 0

Answered
how many install for one license
Hii, Refer the links below. https://www.mathworks.com/matlabcentral/answers/124595-can-single-individual-matlab-license-be-use...

5 years ago | 0

Solved


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

5 years ago

Solved


Subset Sum
Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...

5 years ago

Solved


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

5 years ago

Solved


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

5 years ago

Solved


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

5 years ago

Answered
Is there a spell checker option for MATLAB?
The below link can be referred. Spell check in matlab

5 years ago | 1

Solved


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

5 years ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

5 years ago

Load more