Community Profile

# Serbring

### Università degli Studi di Bologna

Last seen: 5 days ago Active since 2019

All

#### Content Feed

View by

Question

How to use effectively use the lazy quantifier for regular expression?
Hi all, I need to to set up a regular expression that stops at the first istance of the expression. To this goal, I am trying t...

28 days ago | 1 answer | 0

### 1

Question

Why symsum does not provide the right result?
Hi all, I need to find the symbolic solution of the sum of the mathematical series, but symsum does not provide the right resul...

2 months ago | 1 answer | 0

### 1

Solved

Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

6 months ago

Solved

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

7 months ago

Solved

Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

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

7 months ago

Solved

Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

7 months ago

Solved

Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

7 months ago

Question

How to reliable find the distance between matrices?
Dear all, I need to compute the distance among matrices. These matrices describe the usage of vehicle and they report the joint...

8 months ago | 1 answer | 0

### 1

Question

How to select the design variables on an optimization problem?
Dear all, I have a large optimization problem with linear, and non linear constraints, and bounds. The solver I have been usi...

1 year ago | 1 answer | 0

### 1

Solved

Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

1 year ago

Solved

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

1 year ago

Question

How to cluster similar strings?
Hi all, I have long lists of strings which I have automatically collected with a brute web scraping routine. However, many str...

1 year ago | 1 answer | 0

### 1

Question

How to programmatically adjust the font size of the editor and command window?
Hi all, I am using a lot Matlab both with the small screen of my laptop and with my large 34" external screen. Is there a way t...

1 year ago | 1 answer | 0

### 1

Question

How to calculate the slope from geopraphical coordinates?
Hi all, I have installed a GPS logger on a vehicle, so I have extracted the geographcal coordinates in degree (longitude, latit...

1 year ago | 1 answer | 0

### 1

Solved

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

1 year ago

Solved

Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

1 year ago

Question

Why accessing to table is slower than accessing to struct?
Hi all, I have a very large dataset of table data type with nested struct. I have carried out two scrips, one which deals with ...

2 years ago | 1 answer | 0

### 1

Question

How to quickly find the first NaN?
Hi all, I am converting more than 100GB of .ASC CAN BUS data. The algorithm is pretty slow due to the fact there are struct d...

2 years ago | 2 answers | 0

### 2

Question

How to speed up this code?
Hi all, I have several CANBUS .ASC files that I have to convert to .MAT files for further analysis. In particolar, I need a str...

2 years ago | 0 answers | 0

### 0

Question

How to check if a ,MDF file is unsorted?
Hi all, I am trying to read on matlab several .MDF files. All of them are exported with the some tool and for some reasons, som...

2 years ago | 1 answer | 0

### 1

Question

How to plot lines as separated segments?
Hi all, I have a signal and a need to highlight the portion of the signal which meets a specific condition. I have found two wa...

2 years ago | 1 answer | 0

### 1

Question

How to correctly classify a vehicle state in function of its position?
Hi all, I have to classify a vehicle state in function of its position. So, I have created a shapefile containing the boundarie...

2 years ago | 0 answers | 0