Community Profile

photo

Federico Miretti


Politecnico di Torino

Last seen: 2 jours il y a Actif depuis 2019

Followers: 0   Following: 0

Contact

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

Statistiques

All
  • Personal Best Downloads Level 3
  • 5-Star Galaxy Level 4
  • Thankful Level 2
  • Treasure Hunt Participant
  • First Review
  • GitHub Submissions Level 1
  • First Submission
  • Thankful Level 1
  • Solver

Afficher les badges

Feeds

Afficher par

A soumis


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

11 mois il y a | 27 téléchargements |

Thumbnail

Question


Is it a good idea to overload subsref to mimic MATLAB's griddedInterpolant behavior?
As you know, griddedInterpolant and scatteredInterpolant create an interpolant object (say, F) that can be used to interpolate d...

environ 2 ans il y a | 2 réponses | 1

2

réponses

A résolu


Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

environ 2 ans il y a

A résolu


Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-647...

environ 2 ans il y a

A résolu


Word Counting and Indexing
You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...

environ 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 3 ans il y a | 1 réponse | 1

1

réponse

Question


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

presque 4 ans il y a | 1 réponse | 0

1

réponse

A résolu


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

plus de 4 ans il y a

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse