Sarah Todaro
Followers: 0 Following: 0
Statistiques
0 Problèmes
61 Solutions
RANG
N/A
of 289 746
RÉPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 MATLAB Answers
ACCEPTATION DE VOS RÉPONSES
0.00%
VOTES REÇUS
0
RANG
of 19 581
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
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
plus d'un an il y a
A résolu
radius of a spherical planet
You just measured its surface area, that is the input.
plus d'un an il y a
A résolu
Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle
plus d'un an il y a
A résolu
Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
plus d'un an il y a
A résolu
Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.
plus d'un an il y a
A résolu
Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>
plus d'un an il y a
A résolu
Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...
plus d'un an il y a
A résolu
Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...
plus d'un an il y a
A résolu
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
plus d'un an il y a
A résolu
the average value of the elements
Calculate the average value of the elements in the array
plus d'un an il y a
A résolu
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
plus d'un an il y a
A résolu
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 ...
plus d'un an il y a
A résolu
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
plus d'un an il y a
A résolu
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...
plus d'un an il y a
A résolu
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 ...
plus d'un an il y a
A résolu
Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]
plus d'un an il y a
A résolu
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
plus d'un an il y a
A résolu
Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...
plus d'un an il y a
A résolu
Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346
plus d'un an il y a