photo

Prasanth Sikakollu


Last seen: más de 4 años hace Con actividad desde 2019

Followers: 0   Following: 0

Estadística

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Ver insignias

Feeds

Ver por

Resuelto


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

más de 5 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...

más de 5 años hace

Resuelto


Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

más de 5 años hace

Respondida
Want to add image in report from image variable in work space
You can try mlreportgen.dom.Image class to append the image to the report. Refer to the following documentation link for detail...

más de 5 años hace | 0

Respondida
Cumulative sum with multiple constraints
You can try the following code to get the cumulative sum as fourth column in table T. date = [20190101; 20190101; 20190101; 201...

más de 5 años hace | 0

Respondida
Bar plot using multiple table variables?
Hi, You can try the following code. Assuming that the data is present in the table named "table_data". % table_data has the da...

más de 5 años hace | 1

Resuelto


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

más de 5 años hace

Resuelto


Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

más de 5 años hace

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

más de 5 años hace

Respondida
How do I plot a histogram for large data sets?
The basic difference between histogram and bar chart is: Histogram refers to a graphical representation; that displays data by ...

más de 5 años hace | 0

Respondida
Error message while using if statement
Syntax of if conditional: if expression statements else statements end There should be no newline character betwee...

más de 5 años hace | 0

| aceptada

Respondida
How to use result in each iteration in a for loop and then use it in next loop?
Merge both the loops and use the generated result in the same loop. for i=1:10 x = 10*i; % This is the value generated. Ex...

más de 5 años hace | 0

Resuelto


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

más de 5 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...

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


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

más de 5 años hace

Resuelto


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

más de 5 años hace

Respondida
How to extract some columns from txt file to cell
Assume that the above text is in 'sample.txt'. Read data from sample.txt to a table using readtable() function. Extract the r...

más de 5 años hace | 0

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

más de 5 años hace

Resuelto


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

más de 5 años hace

Resuelto


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

más de 5 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...

más de 5 años hace

Respondida
can anyone know to write a mathlab function that takes an input integer "n" and computes the following
Using While loop, try the following function: function result = getFacWhile(n) result = 1; while n ~= 1 resu...

más de 5 años hace | 0

Resuelto


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

más de 5 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...

más de 5 años hace

Resuelto


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

más de 5 años hace

Respondida
how to find the equivalent value in the same row of the next column?
Use a for loop to iterate over the values in 1st column and if the required condition is satisfied, append the value in the 2nd ...

más de 5 años hace | 0

Respondida
Error: File: Symbolic_Relationships.m Line: 17 Column: 11 The expression to the left of the equals sign is not a valid target for an assignment.
The error is due to the square brackets that you used to denote a block for if condition. Square brackets are not required to de...

más de 5 años hace | 0

| aceptada

Cargar más