Estadística
0 Problemas
142 Soluciones
CLASIFICACIÓN
N/A
of 302.375
REPUTACIÓN
N/A
CONTRIBUCIONES
0 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 21.748
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
4.336
of 181.813
CONTRIBUCIONES
0 Problemas
142 Soluciones
PUNTUACIÓN
1.050
NÚMERO DE INSIGNIAS
1
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Resuelto
Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...
más de 10 años hace
Resuelto
Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...
más de 10 años hace
Resuelto
Back to basics 4 - Search Path
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the user's portion of the current search...
más de 10 años hace
Resuelto
Sorting
Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...
más de 10 años hace
Resuelto
Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...
más de 10 años hace
Resuelto
Relational operators and row arrays: Run times
* Construct a row array fastRunTimes containing all elements of runTimes equal to or less than 480 seconds. Ex: If runTimes =...
más de 10 años hace
Resuelto
Back to basics 15 - Benchmark
Covering some basic topics I haven't seen elsewhere on Cody. Return an array of the benchmark values for MATLAB.
más de 10 años hace
Resuelto
only input
Return the output without writing any code into the function.
más de 10 años hace
Resuelto
Adding an element: Ticker tape
* Add stockPrice to the beginning of row array tickerTape
más de 10 años hace
Resuelto
Variable sized row arrays
* Reverse the contents of row array mileMarkers
más de 10 años hace
Resuelto
Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...
más de 10 años hace
Resuelto
Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples : n=2, A=[1 2 3] -> [1 1 2 2 3 3] n=0...
más de 10 años hace
Resuelto
Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...
más de 10 años hace
Resuelto
Back to basics 5 - Clipboard
Covering some basic topics I haven't seen elsewhere on Cody. Copy the input string to the clipboard
más de 10 años hace
Resuelto
Constructing column arrays
* Construct a column array elevatorStops with values 2, 4, 5, 9, and 10
más de 10 años hace
Resuelto
Indexing the array: Moving values
Assume sampleReadings always contains three elements. * Shift the array contents one position to the left. * The rightmost ...
más de 10 años hace
Resuelto
Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.
más de 10 años hace
Resuelto
Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...
más de 10 años hace
Resuelto
Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...
más de 10 años hace
Resuelto
Indexing an array element
* Assign currentStudent with the second element of array testScores. _Reminder: Array indexing starts with 1._
más de 10 años hace
Resuelto
Function definition: Double down.
* Complete the DoubleDown function to return twice the initialValue.
más de 10 años hace
Resuelto
Logical indexing: High scores
Row array gameScores contains all player scores. Construct a row array highScores than contains all player scores greater than 5...
más de 10 años hace
Resuelto
Double colon operator: Counting up
* Construct a row array countValues from 1 to endValue, using the double colon operator. Ex: If endValue is 5, countValues s...
más de 10 años hace
Resuelto
Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...
más de 10 años hace
Resuelto
Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...
más de 10 años hace
Resuelto
All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0
más de 10 años hace
Resuelto
Column arrays: Transpose a row array
* Construct a row array countValues with elements 1 to endValue, using the colon operator. * Transpose countValues to result in...
más de 10 años hace
Resuelto
Solving Quadratic Equations (Version 1)
Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...
más de 10 años hace
Resuelto
Logical indexing: Player scores
Player 1 and player 2 take turns playing a game. Row array gameScores contains the scores of player 1, then player 2, then playe...
más de 10 años hace
