![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/19510480_1601970123103.jpeg)
Rui Zhao
Followers: 0 Following: 0
Statistiques
0 Problèmes
187 Solutions
RANG
N/A
of 293 508
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 20 037
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
Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'
presque 4 ans il y a
A résolu
Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...
presque 4 ans il y a
A résolu
Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...
presque 4 ans il y a
A résolu
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
presque 4 ans il y a
A résolu
Area of a disk
Find the area of a disk or circle. x= radius of the disk.
presque 4 ans il y a
A résolu
Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...
presque 4 ans il y a
A résolu
Find the sum of n squares
What is the sum of the squares of the first n integers?
presque 4 ans il y a
A résolu
Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively
presque 4 ans il y a
A résolu
Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.
presque 4 ans il y a
A résolu
Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area
presque 4 ans il y a
A résolu
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
presque 4 ans il y a
A résolu
Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....
presque 4 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| ...
presque 4 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₁...
presque 4 ans il y a
A résolu
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
presque 4 ans il y a
A résolu
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...
presque 4 ans il y a
A résolu
Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...
presque 4 ans il y a
A résolu
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
presque 4 ans il y a
A résolu
Times 3 problem
When you enter the number, it should return the number multiplied by 3
presque 4 ans il y a
A résolu
Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
presque 4 ans il y a
A résolu
Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]
presque 4 ans il y a
A résolu
Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...
presque 4 ans il y a
A résolu
De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...
presque 4 ans il y a
A résolu
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
presque 4 ans il y a
A résolu
Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]
presque 4 ans il y a
A résolu
Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27
presque 4 ans il y a
A résolu
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
presque 4 ans il y a
A résolu
Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.
presque 4 ans il y a