# Gerard Stockil

**Statistics**

RANK**N/A**

of 265,467

REPUTATION**N/A**

CONTRIBUTIONS

**0** Questions

**0** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**0**

RANK

of 18,135

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Vertically stack two vectors

Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

8 months ago

Solved

An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?

area of a polygon is p*a/2. where, p is the perimeter and a is the apothem i.e. the normal distance from center to any of the si...

9 months ago

Solved

Find the summation, mean, median, mode and standard deviation of a given array.

An array is given. Find out the summation, mean, median, mode and standard deviation of a given array. If x=[1,2,2,3,3,3,4,4,4,...

9 months ago

Solved

Tridiagonal

Return an n-by-n matrix that has a, b, c as the subdiagonal, main diagonal, and superdiagonal entries in the matrix. Example ...

9 months ago

Solved

Approximate the cosine function

Without using MATLAB trigonometric functions, calculate the cosine of an argument |x| to a precision of |0.0001| *Hint:* You ...

9 months ago

Solved

Hydrogens in a Saturated Hydrocarbon

Given (c) carbon atoms in a saturated hydrocarbon molecule (all single bonds), how many hydrogen atoms (h) are in the molecule?

9 months ago

Solved

Odd row

Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

9 months ago

Solved

Find the maximum two numbers of every column of a matrix

Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...

9 months ago

Solved

Total resistance of resistors in parallel

What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

9 months ago

Solved

Calculate value of capacitor

Given the value of resistance and time at which capacitor charges to it's 99%. calculate the value of capacitor

9 months ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

9 months ago

Solved

Triangle Numbers (★★)

(copy of problem 5) Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3...

9 months ago

Solved

Determine if a Given Number is a Triangle Number

*Description:* Determine if the elements of an input array are triangle numbers and return the result as an array with the sa...

9 months ago

Solved

Find out characteristics equation of given matrix.

Find out characteristics equation of given matrix. A=[0 2; 1 8] then char. eq is s^2-8*s-2=0 and answer should be [1 -8 -2]

9 months ago

Solved

Find supported functions

Given a function name, return true if that function is supported by the toolboxes that are installed with MATLAB on this machine...

9 months ago

Solved

Find minimum and maximum elements of an array

For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

9 months ago

Solved

Wind outward from the center ...

Create an n-by-n matrix with elements ranging from 1 to n^2 in a rectangular spiral pattern. Example if n = 5 : 21 ...

9 months ago

Solved

Total resistance of resistors in series

What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

9 months ago

Solved

Polygon Interior Angle Sum

Given the number of sides of a regular polygon, find the sum of interior angles. Return 0 for input for which regular polygon a...

9 months ago

Solved

Sum the elements in either diagonal of a square matrix

Sum the elements of a square matrix that lie on either the major diagonal or anti-diagonal. (Include all elements that are part ...

9 months ago

Solved

How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

9 months ago

Solved

Back and Forth Rows

Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

9 months ago

Solved

matrix zigzag

Unfold a 2-D matrix to a 1-D array in zig-zag order, e.g., for matrix [ 1 2 3 ; 4 5 6 ; 7 8 9 ] the resulting 1-...

9 months ago

Solved

Dots in a Circle

Return how many integer grid points there are inside a circle of radius _r_ centred at (0,0) (including points on the edge). ...

9 months ago

Solved

The Ulam Matrix

The Ulam spiral is simple to describe. On a gridded piece of paper, write down the number 1. Then write successive integers as y...

9 months ago