Community Profile

photo

Abbie Lund


123 2019 年以降の合計貢献数

Abbie Lund's バッジ

  • Community Group Solver
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Commenter
  • Promoter
  • Solver

詳細を表示...

貢献した分野
表示方法

解決済み


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

約2ヶ月 前

解決済み


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

約2ヶ月 前

解決済み


Calculate volume of box
Calculate the volume of box,hiven its sides

約2ヶ月 前

解決済み


Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

約2ヶ月 前

解決済み


So many choices
For inputs _n_ and _k_ (in that order), output the number of ways that k objects can be chosen from amongst n distinct objects. ...

約2ヶ月 前

解決済み


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

約2ヶ月 前

解決済み


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

約2ヶ月 前

解決済み


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

約2ヶ月 前

解決済み


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

約2ヶ月 前

解決済み


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

約2ヶ月 前

解決済み


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

約2ヶ月 前

解決済み


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

約2ヶ月 前

解決済み


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

約2ヶ月 前

解決済み


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

約2ヶ月 前

解決済み


Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

約2ヶ月 前

解決済み


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

約2ヶ月 前

解決済み


Number of Circles in a Number
Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

約2ヶ月 前

解決済み


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

約2ヶ月 前

解決済み


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

約2ヶ月 前

解決済み


Array of Ones
Create a 100 X 100 array of ones.

約2ヶ月 前

解決済み


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

約2ヶ月 前

解決済み


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

約2ヶ月 前

解決済み


surface of a spherical planet
you just discovered its circumference, that is the input.

約2ヶ月 前

解決済み


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

約2ヶ月 前

解決済み


Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

約2ヶ月 前

解決済み


Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

約2ヶ月 前

解決済み


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

約2ヶ月 前

解決済み


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

約2ヶ月 前

解決済み


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

約2ヶ月 前

解決済み


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

約2ヶ月 前

Load more