Solved

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

3 months ago

Solved

Acid and water

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

3 months ago

Solved

Cache me Outside

The test suite includes a simple recursive Fibonacci sequence generator, but it's terribly inefficient. One simple method for im...

3 months ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

3 months ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

3 months ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3 months ago

Solved

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

3 months ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 months ago

Solved

Duplicates

Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

3 months ago

Solved

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

3 months ago

Solved

Cell joiner

You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

3 months ago

Question

How to extract intersection between two 3D shapes

I have a two 3D shapes, one defined by a patch object, the other by a simple analytical function (in my case a sphere): [vert...

4 months ago | 0 answers | 1

Answered

drawnow function in App Designer stops working?

did you try pause(0.001)? It did work best for me on 2019b

drawnow function in App Designer stops working?

did you try pause(0.001)? It did work best for me on 2019b

7 months ago | 0

| accepted

Answered

Perspective Projection of a 3D head to form a face image

why not simply use the _plot3_ (or another kind of 3d plot) function while assigning _CData_ to the points and using _view_ to g...

Perspective Projection of a 3D head to form a face image

why not simply use the _plot3_ (or another kind of 3d plot) function while assigning _CData_ to the points and using _view_ to g...

3 years ago | 0