Community Profile

photo

Sarah Todaro


Last seen: 約2ヶ月 前 2022 以来アクティブ

Statistics

  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver

バッジを表示

Content Feed

表示方法

解決済み


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

約2ヶ月 前

解決済み


radius of a spherical planet
You just measured its surface area, that is the input.

約2ヶ月 前

解決済み


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

約2ヶ月 前

解決済み


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...

約2ヶ月 前

解決済み


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

約2ヶ月 前

解決済み


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

約2ヶ月 前

解決済み


Laws of motion 1

約2ヶ月 前

解決済み


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...

約2ヶ月 前

解決済み


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;...

約2ヶ月 前

解決済み


Converts numbers into characters
Converts numbers into characters

約2ヶ月 前

解決済み


Draw a '0' in a one matrix!

約2ヶ月 前

解決済み


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

約2ヶ月 前

解決済み


to the 2 all elements
to the 2 all elements

約2ヶ月 前

解決済み


the average value of the elements
Calculate the average value of the elements in the array

約2ヶ月 前

解決済み


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

約2ヶ月 前

解決済み


calculate the length of matrix
input 1 array, calculate the length

約2ヶ月 前

解決済み


Double all elements in the array
Duplicate all elements in the array

約2ヶ月 前

解決済み


Find the max element of the array
Find the max element of the array

約2ヶ月 前

解決済み


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 ...

約2ヶ月 前

解決済み


Inner product of two vectors
Find the inner product of two vectors.

約2ヶ月 前

解決済み


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

約2ヶ月 前

解決済み


Find max
Find the maximum value of a given vector or matrix.

約2ヶ月 前

解決済み


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

約2ヶ月 前

解決済み


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...

約2ヶ月 前

解決済み


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 ...

約2ヶ月 前

解決済み


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]

約2ヶ月 前

解決済み


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

約2ヶ月 前

解決済み


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 ...

約2ヶ月 前

解決済み


Convert radians to degrees
Given input in radians, output to degrees

約2ヶ月 前

解決済み


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

約2ヶ月 前

もっと読み込む