Resuelto


Phoneword Translator
Given an alphanumeric telephone number (Ex. 1-800-COLLECT), return the purely numeric phone number as a vector. This problem use...

alrededor de 5 años hace

Resuelto


find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

alrededor de 5 años hace

Resuelto


Test if two numbers have the same digits
Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...

alrededor de 5 años hace

Resuelto


Penny flipping - calculate winning probability (easy)
Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...

alrededor de 5 años hace

Resuelto


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

alrededor de 5 años hace

Resuelto


The Top 5 Primes
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

alrededor de 5 años hace

Resuelto


Sum of series IX

alrededor de 5 años hace

Resuelto


Sum of series VIII

alrededor de 5 años hace

Resuelto


Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

alrededor de 5 años hace

Resuelto


~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator| Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...

alrededor de 5 años hace

Resuelto


Fibonacci Decomposition
Every positive integer has a unique decomposition into nonconsecutive Fibonacci numbers f1+f2+ ... Given a positive integer n, r...

alrededor de 5 años hace

Resuelto


Digital Neighbourhood
Given a natural number reorder its digits to create another number, closest to the given one. Examples: * 123 gives 132, ...

alrededor de 5 años hace

Resuelto


Binary Neighbourhood
Given a natural number reorder its binary form to create another number, closest to the given one. Examples: * 1 gives 2, ...

alrededor de 5 años hace

Resuelto


Find out the Gray Code for a Given Binary Number
Find out <http://en.wikipedia.org/wiki/Gray_code Gray Code> for a given binary number Example Binary input 1000 Gray ...

alrededor de 5 años hace

Resuelto


Convert to Binary Coded Decimal
Convert from decimal representation to <http://en.wikipedia.org/wiki/Binary-coded_decimal Binary Code Decimal> (or BCD) represen...

alrededor de 5 años hace

Resuelto


Equation Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on times that include the four bas...

alrededor de 5 años hace

Resuelto


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

alrededor de 5 años hace

Resuelto


De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

alrededor de 5 años hace

Resuelto


Big numbers, least significant digits
Given two numbers, x and n, return the last d digits of the number that is calculated by x^n. In all cases, d will be the number...

alrededor de 5 años hace

Resuelto


Power Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on times that represent powers. Fo...

alrededor de 5 años hace

Resuelto


Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...

alrededor de 5 años hace

Resuelto


Mysterious digits operation (easy)
What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

alrededor de 5 años hace

Respondida
MATLAB B spline function
Here is the help doc explains all steps of b-spline fn2fm(): https://www.mathworks.com/help/curvefit/fn2fm.html and spline(): ...

alrededor de 5 años hace | 0

Respondida
Replacing a group of values in a matrix
You can start with a logical indexing approach to locate where 1's located, e.g.: [Rn, Cn] = find(AM); % Initial Matrix with so...

alrededor de 5 años hace | 1

Respondida
fit function to data
load x1.txt , load x2.txt , load y1.txt , load y2.txt plot(x1,y1,'or',x2,y2,'b*') % Differentiate different data sets while p...

alrededor de 5 años hace | 0

Respondida
Can I calculate the inverse of a matrix using arrayfun?
In fact, you can employ arrayfun for the matric inverse calc, e.g.: tic; iA =arrayfun(@inv,A); toc; Note that arrayfun is no...

alrededor de 5 años hace | 0

Respondida
How to make a plot with multiple x points have equal spaced points?
You can try unique() to remove some overlapping points and then interpolate.

alrededor de 5 años hace | 0

Respondida
how i can construct Huffman Table using MATLAB
Use huffmandict(). See this help documentation how to employ this matlab fcn: https://www.mathworks.com/help/comm/ref/huffmandi...

alrededor de 5 años hace | 0

| aceptada

Respondida
- I dont understant about the Vandermonde matrix in Predicting the US population that is used in MATLABMATLAB Examples
It is quite straightforward to employ the Vandermonde matrix for linear or quartic or cubic, etc. polynomial fit model, e.g: P ...

alrededor de 5 años hace | 0

Respondida
Polynomial graph(using plot function), Deflection Problem
You need to employ polyfit() for your anticipated fit models or just least squares method with Vandermonde matrix with \. SInce ...

alrededor de 5 años hace | 0

Cargar más