
梓斌
Followers: 0 Following: 0
Statistiques
0 Problèmes
934 Solutions
RANG
N/A
of 297 503
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 20 449
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...
2 mois il y a
A résolu
The sum of individual numbers...
Well this one is taking a number and then summing the individual parts till you reach a value of 1, 2, 3, 4, 5, 6, 7, 8, 9, or 0...
2 mois il y a
A résolu
Dice face matrix!
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...
2 mois il y a
A résolu
The Dark Side of the Die
It is well-known that opposite sides of a classic hexahedral die add to 7. Given a vector of dice rolls, calculate the sum of th...
2 mois il y a
A résolu
Scoring for oriented dominoes
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...
2 mois il y a
A résolu
Back to basics 5 - Clipboard
Covering some basic topics I haven't seen elsewhere on Cody. Copy the input string to the clipboard
2 mois il y a
A résolu
Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...
2 mois il y a
A résolu
Volume of a sphere given its surface area
You just measured its surface area, that is the input.
2 mois il y a
A résolu
Separate even from odd numbers in a vector - with a loop
*Using a loop*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the end. T...
2 mois il y a
A résolu
Remove the first, third and fifth rows of a matrix
Given a matrix x with at least five rows, return a matrix y that includes all rows of x except for th 1st, the 3rd and 5th. E...
2 mois il y a
A résolu
Separate even from odd numbers in a vector - without loops
*Without using loops*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the...
2 mois il y a
A résolu
Product of Each Column
Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...
2 mois il y a
A résolu
Vector push
Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...
2 mois il y a
A résolu
Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...
2 mois il y a
A résolu
Voltage in a lamp
A lamp is measured to have a resistance of R ohms when it operates at a power of P Watts. What is the voltage (in volts) being a...
2 mois il y a
A résolu
String Logic 13
Examples: 'CAT' --> 'TCA' 'DOG' --> 'OGD' 'ROSY' --> 'YSRO' 'MOSTLY' --> 'YTSOML'
2 mois il y a
A résolu
String Logic 4
Example: 'CAT' --> 'IGZ' 'DOG' --> 'JUM' 'MATLAB' --> 'SGZRGH' 'ROSY' --> 'XUYE' 'TRUST' --> 'ZXAYZ' 'MOSTLY' --> 'SUYZ...
2 mois il y a
A résolu
Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together
2 mois il y a
A résolu
Matrix multiplication
Multiply two incoming matrices via matrix multiplication
2 mois il y a
A résolu
Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)
2 mois il y a
A résolu
Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.
2 mois il y a
A résolu
Vector indexing: lower than mean
Find indices of values in a vector lower than the mean of the vector
2 mois il y a
A résolu
Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number
2 mois il y a