Community Profile

photo

Tim leonard


Con actividad desde 2014

Followers: 0   Following: 0

Contacto

Estadísticas

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

Ver insignias

Feeds

Ver por

Resuelto


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

más de 8 años hace

Resuelto


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

más de 8 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

Resuelto


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

casi 9 años hace

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

alrededor de 9 años hace | 1

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

alrededor de 10 años hace | 1

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0