Civil Engineer specilized in Geotechnics.

Question

Classification (machine learning)

Good morning. I need to implement a classification algorithm: I have several time series and I need to recognize the trend. For...

2 Monate ago | 1 answer | 0

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

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

6 Monate ago

Solved

Determine if input is odd

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

6 Monate ago

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

6 Monate ago

Solved

7 segment LED display

Given a whole number, output how many segments would be lit up to display it on a 7 segment LED display (see Wikipedia: <http://...

6 Monate ago

Solved

Test if a Number is a Palindrome without using any String Operations

*Description* Given an integer _X_, determine if it is a palindrome number. That is, _X_ is equal to the _X_ with the digits ...

6 Monate ago

Solved

Rounding off numbers to n decimals

Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

6 Monate ago

Solved

Number of 1s in the Binary Representation of a Number

*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...

6 Monate ago

Solved

Increment a number, given its digits

Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

6 Monate ago

Solved

Find the Oldest Person in a Room

Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

6 Monate ago

Solved

Convert from Fahrenheit to Celsius

Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

6 Monate ago

Solved

Calculate Amount of Cake Frosting

Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

6 Monate 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:...

6 Monate ago

Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

6 Monate ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

6 Monate ago

Solved

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

6 Monate ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

6 Monate ago

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

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

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

6 Monate ago

Answered

Delete all rows in cell array based on value

A = {table(rand(3,2)); table(rand(3,2)); table(rand(3,2))}; B = {1; 0; 1}; C = horzcat(A,B); D={}; ii=0; jj=0; for ii=1:...

Delete all rows in cell array based on value

A = {table(rand(3,2)); table(rand(3,2)); table(rand(3,2))}; B = {1; 0; 1}; C = horzcat(A,B); D={}; ii=0; jj=0; for ii=1:...

6 Monate ago | 2

Submitted

Download elevations from Google Maps (API key required)

Get elevations from Google Maps (Google API key required) from latitute and longitude, coordinates input (UTM)

7 Monate ago | 6 downloads |

Answered

How to evalutate AREA from connected points?

I solved my problem with a second software: I used ArcGIS! Thank you for all your suggestions, it helped me to change my PoV o...

How to evalutate AREA from connected points?

I solved my problem with a second software: I used ArcGIS! Thank you for all your suggestions, it helped me to change my PoV o...

7 Monate ago | 0

| accepted

Submitted

Rotate point cloud on orizontal plane - script (ITA, ENG)

The script fits a point cloud with a plane, rotates the plane on the horizontal and retrieves the coordinates of the rotated poi...

7 Monate ago | 2 downloads |