Community Profile

# Kehinde OROLU

### Department of Systems Engineering, University of Lagos, Nigeria

Last seen: 8日 前 2011 年からアクティブ

Professional Interests: Technical computing, simulation, Engineering Analysis, Neural Networks, Mechanical vibration

All

バッジを表示

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

6年以上 前

Finite Element Triangular Mesh Generator
This function generates triangular mesh for a rectangular shape structure for FEM analysis

Is my wife right?
Regardless of input, output the string 'yes'.

8年以上 前

Compute hamming distance between two binary vectors represented using lists of 1-byte numbers
Let v and u be vectors of the same size with 8-bit integers (0-255). We want to compute the number of bits where those vectors d...

8年以上 前

Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

9年弱 前

Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

9年弱 前

Time Expansion
How can you slow down any discrete-time signal? Example Input original signal x. x = [1 2 3 -1 -2 -5 -4] We want t...

9年弱 前

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

9年弱 前

Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

9年弱 前

Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

9年弱 前

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

9年弱 前

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

9年弱 前

Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

9年弱 前

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

9年弱 前

Given a and b, return the sum a+b in c.

9年弱 前

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

9年弱 前

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

9年弱 前

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

9年弱 前

Aitken Interpolation Method
f1= aitken(x,f,x1) uses Aitken's interpolation method to estimate f1(x1) at x1.

Solving System of Equations
This function solves system of linear equations using Gaussian Elimination method

Plot on different figures during a loop
Use this instead: for j=1:m s=load(fileA{j}); t=load(fileB{j}); for i=2:size(t,2) figure(i),plot(t(:,1)...

11年以上 前 | 7