I am a Mechanical Engineer.

Professional Interests: Mechanical systems, data analysis, Simulink, hydraulics, Finite Element Analysis, Computational Fluid Dynamics, System Identification, Signal Processing, programming, machine learning, data analytics.

If you send me a message, I am likely to get back to you. :)

Solved

Hard limit function

Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]

16 jours ago

Solved

Rosenbrock's Banana Function and its derivatives

Write a function to return the value of <http://en.wikipedia.org/wiki/Rosenbrock_function Rosenbrock's two-dimensional banana fu...

16 jours ago

Solved

Solve a System of Linear Equations

*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

17 jours ago

Solved

Find the Oldest Person in a Room

Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

17 jours ago

Solved

Convert from Fahrenheit to Celsius

Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

17 jours ago

Solved

Matlab Basics II - squares

Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

17 jours ago

Solved

Given a matrix, return the last eigen value

Given a matrix, return the first eigen value For example: x = magic(5) 17 24 1 8 15 23 5 7 14 ...

17 jours ago

Solved

Building matrices

If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

17 jours ago

Solved

Transpose

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

17 jours ago

Solved

Calculate Amount of Cake Frosting

Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

17 jours ago

Solved

Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed

Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

17 jours ago

Solved

Television Screen Dimensions

Given a width to height ratio of a TV screen given as _w_ and _h_ as well as the diagonal length of the television _l_, return t...

17 jours ago

Solved

Right Triangle Side Lengths (Inspired by Project Euler Problem 39)

If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...

17 jours ago

Solved

Approximation of Pi (vector inputs)

Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

17 jours ago

Answered

How to estimate weights of the weighted mean?

Put all the each x and y pair on a row. Formulate the matrix A containing all the x1...x81 and x values. Put the y values in a c...

How to estimate weights of the weighted mean?

Put all the each x and y pair on a row. Formulate the matrix A containing all the x1...x81 and x values. Put the y values in a c...

26 jours ago | 0

Submitted

Hamming Window Amplitude Correction

This simple script calculates the amplitude correction for a Hamming Window.

environ 2 mois ago | 1 download |

Submitted

regularizeNd

Create a gridded lookup table of scattered data in n dimensions.

6 mois ago | 6 downloads |

Submitted

FFT Notes

This shows how to process a signal with an odd and even length fft.

7 mois ago | 2 downloads |

Answered

quadprog different output for R2020a and R2017a

There is an option called 'LinearSolver'. It can be dense or sparse. I set it to sparse and it converged quickly. This problem ...

quadprog different output for R2020a and R2017a

There is an option called 'LinearSolver'. It can be dense or sparse. I set it to sparse and it converged quickly. This problem ...

9 mois ago | 1

| accepted

Answered

Interpolation help please!

clc; clear; close all; t = [2 4 6 8 10]; x = [2 3 4 5 6]; y = [-1 2 1 3 -1]; F1 = griddedInterpolant(t,x); F2 = gridd...

Interpolation help please!

clc; clear; close all; t = [2 4 6 8 10]; x = [2 3 4 5 6]; y = [-1 2 1 3 -1]; F1 = griddedInterpolant(t,x); F2 = gridd...

9 mois ago | 1

Answered

How can I capture a screenshot WITH the cursor displayed in Matlab?

Record the screen using Screen Recording in PowerPoint? A screen capture won't work but a screen recording will.

How can I capture a screenshot WITH the cursor displayed in Matlab?

Record the screen using Screen Recording in PowerPoint? A screen capture won't work but a screen recording will.

9 mois ago | 0

Answered

Simulink Projects dependency analysis of mex file doesn't show all required C source files

File an enhancement request with Mathworks. However, I don't think they want to support the Dependency analysis of C/C++ files b...

Simulink Projects dependency analysis of mex file doesn't show all required C source files

File an enhancement request with Mathworks. However, I don't think they want to support the Dependency analysis of C/C++ files b...

9 mois ago | 0

| accepted

Answered

How to Keep Nested For Loop Indexes From Equaling Each Other

Use the continue keyword. for i=1:50 for j=1:50 if j==i continue; % breaks the inner for loop at t...

How to Keep Nested For Loop Indexes From Equaling Each Other

Use the continue keyword. for i=1:50 for j=1:50 if j==i continue; % breaks the inner for loop at t...

9 mois ago | 0

| accepted

Answered

MATLAB Detection of Compiler

See comments above for answer.

MATLAB Detection of Compiler

See comments above for answer.

environ 2 ans ago | 0

| accepted

Question

MATLAB Detection of Compiler

How does MATLAB detect the compiler in 2016b or newer? I have written a custom compiler configuration xml file. mex.getCompil...

plus de 2 ans ago | 1 answer | 0

Solved

Alternating sum

Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

plus de 2 ans ago

Solved

Basic electricity in a dry situation

⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ &#...

plus de 2 ans ago

Solved

Solitaire Cipher

Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...

plus de 2 ans ago

Solved

Find a subset that divides the vector into equal halves

Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

plus de 2 ans ago