![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/17228795_1578554254406_DEF.jpg)
CHANDRABHAN Singh
Followers: 0 Following: 0
Estadística
0 Problemas
62 Soluciones
CLASIFICACIÓN
164.039
of 297.016
REPUTACIÓN
0
CONTRIBUCIONES
15 Preguntas
1 Respuesta
ACEPTACIÓN DE RESPUESTAS
73.33%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 20.419
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
7.904
of 157.725
CONTRIBUCIONES
0 Problemas
62 Soluciones
PUNTUACIÓN
770
NÚMERO DE INSIGNIAS
4
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10
más de 4 años hace
Resuelto
Pattern Sum
Write a function which receives two single digit positive integers, (k and m) as parameters and calculates the total sum as: k...
más de 4 años hace
Resuelto
Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...
más de 4 años hace
Resuelto
Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...
más de 4 años hace
Resuelto
Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...
más de 4 años hace
Resuelto
Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....
más de 4 años hace
Resuelto
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
más de 4 años hace
Resuelto
Proper Factors
Generate the proper factors of input integer _x_ and return them in ascending order. For more information on proper factors, ref...
más de 4 años hace
Resuelto
Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...
más de 4 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...
más de 4 años hace
Resuelto
Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...
más de 4 años hace
Resuelto
Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.
más de 4 años hace
Resuelto
Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...
más de 4 años hace
Resuelto
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
más de 4 años hace
Resuelto
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
más de 4 años hace
Resuelto
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
más de 4 años hace
Resuelto
Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
más de 4 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 other numbers. Otherwise return false. E...
más de 4 años hace
Resuelto
Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...
más de 4 años hace
Resuelto
Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...
más de 4 años hace
Resuelto
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
más de 4 años hace
Resuelto
Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...
más de 4 años hace
Resuelto
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
más de 4 años hace
Resuelto
Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...
más de 4 años hace
Resuelto
Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...
más de 4 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 ...
más de 4 años hace
Resuelto
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
más de 4 años hace