Active since 2011

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

All

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

Solved

Pizza!

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

5 years ago

Submitted

Finite Element Triangular Mesh Generator

This function generates triangular mesh for a rectangular shape structure for FEM analysis

6 years ago | 19 downloads |

Solved

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

7 years ago

Solved

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

7 years ago

Solved

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

7 years ago

Solved

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

7 years ago

Solved

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

7 years ago

Solved

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

7 years ago

Solved

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

7 years ago

Solved

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

7 years ago

Solved

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

7 years ago

Solved

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

7 years ago

Solved

Determine if input is odd

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

7 years ago

Solved

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

7 years ago

Solved

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

7 years ago

Solved

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

7 years ago

Submitted

Aitken Interpolation Method

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

9 years ago | 4 downloads |

Submitted

Solving System of Equations

This function solves system of linear equations using Gaussian Elimination method

9 years ago | 1 download |

Answered

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

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

10 years ago | 6