Resuelto


Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

casi 3 años hace

Resuelto


QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a standard U.S. QWERTY keyboard and it...

casi 3 años hace

Resuelto


Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


Return the 3n+1 sequence for n
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...

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

casi 3 años hace

Resuelto


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

casi 3 años hace

Resuelto


Mandelbrot Numbers
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

casi 3 años hace

Pregunta


Logical Indexing with matrix
Helllo, Assuming I have three matrices: A = [1 0 ; 0 1] B = [1 1 ; 1 1] C = [3 4 ; 6 7] I would like to perform the follow...

casi 3 años hace | 1 respuesta | 0

1

respuesta

Resuelto


Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

casi 3 años hace

Resuelto


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

casi 3 años hace

Resuelto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

casi 3 años hace

Resuelto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

casi 3 años hace

Resuelto


Create a vector
Create a vector from 0 to n by intervals of 2.

casi 3 años hace

Resuelto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

casi 3 años hace

Resuelto


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

casi 3 años hace

Resuelto


Find max
Find the maximum value of a given vector or matrix.

casi 3 años hace

Resuelto


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

casi 3 años hace

Resuelto


Inner product of two vectors
Find the inner product of two vectors.

casi 3 años hace

Resuelto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

casi 3 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 3 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 3 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 3 años hace

Pregunta


How to set scientific notation in data tips ?
Hello , I would like to see scientific notation in the data tip on my plot , I attached an image of my plot , instead of that l...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Readtable from a text file with multiple delimiter
Hello, I have a text file with column delimited by tab , but the string containing the variable name has as a delimiter simple ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Find the intersection between two curves
So I would like to write a simple program in for a school project, that can find the intersection between two curves, for examp...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to solve a nonliner equation ?
Hello, so I have a nonlinear equation which is actually in the form of an array of values called y, and i would like to finde t...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How Ode15 does it works ?
Hello, I have some matlab code and i have to translate it in c++. The core of the code is the ode15 solver , can someone explai...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Cargar más