Community Profile

photo

pietro


Marquette University

Last seen: 거의 4년 전 2012년부터 활동

통계

All
  • First Review
  • 3 Month Streak
  • Thankful Level 4
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer
  • Solver

배지 보기

Content Feed

보기 기준

문제를 풀었습니다


Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

거의 4년 전

문제를 풀었습니다


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

거의 4년 전

문제를 풀었습니다


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

거의 4년 전

문제를 풀었습니다


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

거의 4년 전

문제를 풀었습니다


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

거의 4년 전

문제를 풀었습니다


Find the peak 3n+1 sequence value
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...

거의 4년 전

문제를 풀었습니다


Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

거의 4년 전

문제를 풀었습니다


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


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

거의 4년 전

문제를 풀었습니다


Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

거의 4년 전

문제를 풀었습니다


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

거의 4년 전

문제를 풀었습니다


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

거의 4년 전

질문


Text recognition in videos: two almost identical frames, different results
I have all, I have collected a series of video with a dashcam installed on a tractor. The dashcam reports the speed of the tr...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How can I obtain satellite images to be plotted into a figure?
Hi all, I have logged the GPS position of a vehicle to make some analysis. My data is in terms of latitude and longitude. I n...

거의 5년 전 | 답변 수: 0 | 0

0

답변

질문


How to calculate the points of a line which lies inside polygons?
Hi all, I have GPS coordinates of an off-road vehicle and I have to check when the vehicle lies on a road or on a field. I have...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


How to searh for very similar strings?
Hi all, I am doing a bibliometric analysis and especially, I have to search article titles on references of the citing papers. ...

대략 5년 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to speed up this code?
Thanks for the aswer. Now the code is really fast. I have to use contains, because I have to search for string patterns.

대략 5년 전 | 0

질문


How to speed up this code?
Hi all, I have the following code that I need to speed-up: a(1).a='a'; a(2).a='b'; a(3).a='b'; a(4).a='c'; output=(contai...

대략 5년 전 | 답변 수: 2 | 0

2

답변

질문


How to extract locations from strings of addresses?
Hi all, I have more than a thousand of strings containing addresses. How can I programmatically extract the locations, like ci...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


How to check a GPS coordinate is located on a road?
Hi all, I have GPS data collected on a vehicle and I need to check the portion of time the vehicle was used on road. To this ...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How lo use selector option in shaperead to load only vector elements bounded in a area?
Hi all, I have a very large shapefile of road-network containing only coordinates and the type of elements (i.e. line) (JFI, ...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Error in using fitlnm: Why do I get "The model function must accept two arguments"?
Hi all, I am having troubles in using fillnm. Below an example: clear all x=[0:0.01:10]; y=x.^2; m...

거의 6년 전 | 답변 수: 1 | 0

1

답변

더 보기