Community Profile

photo

Lam


Aktiv seit 2013

Followers: 0   Following: 0

Kontakt

Statistiken

All
  • Solver
  • Knowledgeable Level 1
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


5th Time's a Charm
Write a function that will return the input value. However, your function must fail the first four times, only functioning prope...

etwa 6 Jahre vor

Gelöst


Acid and water
⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ Assume that there is a 100 liter tank. It is initially fi...

etwa 6 Jahre vor

Gelöst


"Cody" * 5 == "CodyCodyCodyCodyCody"
*Alice*: What? *"Cody" * 5 == "CodyCodyCodyCodyCody"*? You've gotta be kidding me! *Bob*: No, I am serious! Python supports...

etwa 6 Jahre vor

Gelöst


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

etwa 6 Jahre vor

Gelöst


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

etwa 6 Jahre vor

Gelöst


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

etwa 6 Jahre vor

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

etwa 6 Jahre vor

Gelöst


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

etwa 6 Jahre vor

Gelöst


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

etwa 6 Jahre vor

Gelöst


Given a number N, find the smallest prime P>N
Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

etwa 6 Jahre vor

Beantwortet
MATLAB as Internet bot
This function may help: http://www.mathworks.com/help/matlab/ref/urlread.html

fast 11 Jahre vor | 0

Beantwortet
add elements to an existing vector
You mean adding or replacing? This works for me: delta = [1;2;3] [NaN;NaN;NaN;NaN;NaN;delta(1:end)]

fast 11 Jahre vor | 0

| akzeptiert