photo

Tim leonard


Active since 2014

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • Revival Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Solved


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

ongeveer 9 jaar ago

Solved


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

ongeveer 9 jaar ago

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

meer dan 9 jaar 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...

meer dan 9 jaar ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

meer dan 9 jaar ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

meer dan 9 jaar 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...

meer dan 9 jaar ago

Solved


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

meer dan 9 jaar ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

meer dan 9 jaar 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 ...

meer dan 9 jaar 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:...

meer dan 9 jaar ago

Answered
Converting multiple table variables from string to categorical data
I'd love to know if this is possible as well. This is the best I can figure out, but still not really at all elegant. %mak...

bijna 10 jaar ago | 1

Answered
Matrix, struct, array, comparison
Mischa's answer is perfectly valid. Just wanted to share some code. all(cellfun(@(x,y)(all(x==y)),primo,secondo)) note,...

meer dan 10 jaar ago | 1

Answered
How to acess the Data of a struct with a variable
Data.Sens1.current=[2] Data.Sens2.current=[4] Data.Sens3.current=[5] Data.Sens4.current =[6] ...

meer dan 10 jaar ago | 0

Answered
How do I assign start and stop indices for small segments of a large vector to a struct (vector for each file)?
Your widthCopy is a cell, bout your treating it as a vector. Without seeing the rest of your code I have to guess. This is what ...

meer dan 10 jaar ago | 0

Answered
How can I detect and remove outliers from a large dataset?
Trimming your values based on percentiles is quick and powerful - vector = randi(100,100,1); percntiles = prctile(ve...

meer dan 10 jaar ago | 0