community profile

photo

brendan gray -凯发k8网页登录


last seen: 1 year 前 自 2015 起处于活动状态

opti-num solutions provide data analytics and simulation based design solutions to a broad range of industries. we primarily use matlab and simulink to deliver these solutions, which encompass deliverables from software tools, training and coaching, to building bespoke applications.

统计数据

all

content feed

排序方式:

已解决



crack the following integer sequence. (hints : it has been obtained from original fibonacci sequence and all the terms are also ...

3 years 前

已解决



given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1 d), a/(1 2d), a/(1 3d),....

3 years 前

已解决



given that 0 < x and x < 2*pi where x is in radians, write a function [c,s] = infinite_series(x); that returns with the...

3 years 前

已解决



in honor of cleve's new blog and post: is x a fibonacci ...

3 years 前

已解决



given vector x, calculate the alternating sum y = x(1) - x(2) x(3) - x(4) ...

3 years 前

已解决



what's the next number in this sequence? * [0] * [1 0] * [1 1 1 0] * [3 1 1 0] * [1 3 2 1 1 0] this a variant on the w...

3 years 前

已解决



we define a _skip sequence_ as a regularly-spaced list of integers such as might be generated by matlab's

3 years 前

已解决



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

3 years 前

已解决



write a code which returns the fibonacci sequence such that the largest value in the sequence is less than the input integer n. ...

5 years 前

已解决



the sum of the squares of the first ten natural numbers is, 1^2 2^2 ... 10^2 = 385 the square of the sum of the first ...

5 years 前

已解决



write a function posx=findposition(x,y) where x is a vector and y is the number that you are searching for. examples: fin...

5 years 前

已解决



inner product of two vectors

5 years 前

已解决



convert fahrenheit to celsius degrees.

5 years 前

已解决



if you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' for extra ...

5 years 前

已解决



if x=[0,3,4,2,1] then y=[4,3,2,1,0]

5 years 前

已解决



find the mean of each consecutive pair of numbers in the input row vector. for example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

5 years 前

已解决



suppose you go from position 7 to 10 to 6 to 4. then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

5 years 前

已解决



*description* return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *example* [x1,x2] =...

5 years 前

已解决



write a two-input, two-output function that swaps its two input arguments. for example: [q,r] = swap(5,10) returns q = ...

5 years 前

已解决



given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

5 years 前

已解决



you just measured its surface area, that is the input.

5 years 前

已解决



again, as in "is my wife right?" ( ), answer 'yes' r...

5 years 前

已解决



this is an extension of problem 42842. in this case, the puzzle is three-dimensional and is of size 3x3x3. of the 27 positions i...

5 years 前

已解决



*description* the traditional maze is 2-dimensional: the navigator can move in the positive or negative directions along two ...

5 years 前

已解决



a tribute to cody's five-year anniversary should also celebrate the people behind cody, and in this particular case, our illustr...

5 years 前

已解决



i want to create a recaman sequence where there is a "1" in the n-th position. so from which integer should i start the recaman ...

5 years 前

已解决



consider the first 50 digits of champernowne's constant 0.12345678910111213141516171819202122232425262728293... the...

5 years 前

已解决



a "pandigital number of order x" is one that contains all of the numbers from 0 to x, but with no leading zeroes. if x>9, the cy...

5 years 前

已解决



let's define pair primes as follow; * *for 2 digits numbers:* 11 and 17 are pair primes because both of them are 2 digits pri...

5 years 前

已解决



it's cody's 5th birthday, and you've been tasked with putting the candles on the cake. your goal is to maximize the distance bet...

5 years 前

网站地图