Community Profile

# Federico Miretti

### Politecnico di Torino

Last seen: 2日 前 2019 以来アクティブ

PhD Student in engineering at the Energy Department of Politecnico di Torino, Italy.

All

バッジを表示

#### Content Feed

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

4ヶ月 前

Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

4ヶ月 前

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

4ヶ月 前

DynaProg
Solve finite horizon multi-stage deterministic decision problems using Dynamic Programming

6ヶ月 前 | ダウンロード 5 件 |

Using engine data from the Powertrain Blockset in academic publications
I used fuel consumption and emissions look-up tables obtained by resizing the reference CI Engine from the Powertrain Blockset i...

7ヶ月 前 | 1 件の回答 | 0

### 1

Preserving the shape of the indices vector when indexing into another vector.
Suppose i have a vector of values A A = [5 10 15 20 25]; And a vector of indeces that may have any number of singleton leading...

1年以上 前 | 1 件の回答 | 1

### 1

Access all k-th elements of a n-dimensional array, where the k indexes are defined in a (n-1)-dimensional array.
I have a 3-dimensional N-by-M-by-L array of values A, e.g. A(:,:,1) = [1 2 3; 4 5 6; 7 8 9]; A(:,:,2...

1年以上 前 | 1 件の回答 | 0

### 1

Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

2年以上 前

What are the differences between Simscape Driveline and Simulink Powertrain Blockset?
Looking at the product pages on Mathworks' website, Simscape Driveline and Simulink Powertrain Blockset seem be aimed at the sam...

2年以上 前 | 1 件の回答 | 0