Yuval Cohen
Audio Pixels
Followers: 0 Following: 0
Statistiques
RANG
3 755
of 290 045
RÉPUTATION
14
CONTRIBUTIONS
1 Question
1 Réponse
ACCEPTATION DE VOS RÉPONSES
0.0%
VOTES REÇUS
5
RANG
9 497 of 19 629
RÉPUTATION
68
CLASSEMENT MOYEN
2.00
CONTRIBUTIONS
1 Fichier
TÉLÉCHARGEMENTS
2
ALL TIME TÉLÉCHARGEMENTS
684
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero i...
environ 2 ans il y a
How to implement right-click and double click in matlab uitables?
The issue is that the CellSelectionCallback is triggered on the first, and only the first click and the callback function will n...
environ 3 ans il y a | 5
| A accepté
A résolu
Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...
plus de 3 ans il y a
A résolu
Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...
plus de 3 ans il y a
A résolu
Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...
plus de 3 ans il y a
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...
plus de 3 ans il y a
A résolu
Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...
plus de 3 ans il y a
A résolu
Solve a System of Linear Equations
*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...
plus de 3 ans il y a
A résolu
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
plus de 3 ans il y a
A résolu
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
plus de 3 ans il y a
A résolu
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
plus de 3 ans il y a
A résolu
Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...
plus de 3 ans il y a
A résolu
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:...
plus de 3 ans il y a
Question
How can I change the default units in GUIDE
Hello, I use GUIDE for many of my GUIs. I like using 'pixels' for the figure and all uicontrols. Unfortunately, the default uni...
environ 10 ans il y a | 4 réponses | 0
4
réponsesA résolu
Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...
environ 11 ans il y a
A résolu
Convert a vector into a number
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...
environ 11 ans il y a
A résolu
Given a 4x4 matrix, swap the two middle columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
environ 11 ans il y a
A résolu
Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...
plus de 11 ans il y a
A résolu
We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...
plus de 11 ans il y a
A résolu
Sophie Germain prime
In number theory, a prime number p is a *Sophie Germain prime* if 2p + 1 is also prime. For example, 23 is a Sophie Germain prim...
plus de 11 ans il y a
A résolu
Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!
plus de 11 ans il y a
A résolu
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...
presque 12 ans il y a
A résolu
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
presque 12 ans il y a
A résolu
Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...
environ 12 ans il y a
A résolu
Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise
environ 12 ans il y a
A résolu
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
environ 12 ans il y a
A résolu
Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.
environ 12 ans il y a
A résolu
Sort numbers by outside digits
Sort the array so that they are sorted as if their value was a 5 digit number made from the first three and last two digits of t...
environ 12 ans 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...
environ 12 ans il y a
A résolu
Cody Computer Part 1 - Guess the system font used by uipanel
list = listfonts return the list of available system fonts. Can you guess which font is used for uipanel on the CODY computer...
environ 12 ans il y a