photo

Tim leonard


自 2014 起处于活动状态

Followers: 0   Following: 0

消息

统计学

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

查看徽章

Feeds

排序方式:

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已解决


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

9 years 前

已回答
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...

10 years 前 | 1

已回答
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,...

10 years 前 | 1

已回答
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] ...

10 years 前 | 0

已回答
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 ...

10 years 前 | 0

已回答
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...

10 years 前 | 0