PhD candidate , Mechatronic researcher and college staff member.

Answered

Subtract mean from each table by columns

Hello, I came by another solution using bsxfun Here is a complete example based on my question % Generate random columns for ...

Subtract mean from each table by columns

Hello, I came by another solution using bsxfun Here is a complete example based on my question % Generate random columns for ...

10 months ago | 0

Question

Subtract mean from each table by columns

Hello, Assume we have the following table t = array2table([rand(10,1),rand(10,1),rand(10,1)],'VariableNames',{'feat_1', 'feat_...

10 months ago | 2 answers | 0

Question

Generalized Discriminant Analysis Projection Matrix

Hello, I tried to perform a supervised dimensionality reduction using GDA which is also known as Kernel Fisher Discriminant Ana...

11 months ago | 0 answers | 0

Question

Get rectangle of 4 points and detect formed rectangle orientation

Hello, I have an image as shown below <</matlabcentral/answers/uploaded_files/115367/Untitled-1.png>> I wrote the followi...

3 years ago | 1 answer | 0

Submitted

Naive Linear Trajectory with App Designer Interface

Naive Linear Trajectory with App Designer Interface

3 years ago | 3 downloads |

Solved

Basic electricity in a dry situation

This is a very hypothetical situation between two individuals in a very dry atmosphere. He came running in rubber boots when...

3 years ago

Solved

5 Prime Numbers

Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

3 years ago

Solved

Pernicious Anniversary Problem

Since Cody is 5 years old, it's pernicious. <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer whi...

3 years ago

Solved

Energy of a photon

Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...

3 years ago

Solved

How to subtract?

* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...

3 years ago

Submitted

Reading ScopeTek Digital Fiber Spectrometer data

Reading ScopeTek Digital Fiber Spectrometer data

4 years ago | 1 download |

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

4 years ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

4 years ago

Answered

Petri net toolbox installation problem

The problem with newer versions (later than R2007b) that compiled files (p-code) is no longer supported. Sources files need to b...

Petri net toolbox installation problem

The problem with newer versions (later than R2007b) that compiled files (p-code) is no longer supported. Sources files need to b...

4 years ago | 0

Submitted

Step and Impulse Response without coding

Finding step and impulse response with no coding experience

4 years ago | 2 downloads |

Solved

Model a simple pendulum

Model a simple pendulum of length 200cm with bob of mass 100g and plot the position in degrees. The pendulum starts at 30 degree...

4 years ago

Solved

Compute the step response of a DC motor

Compute the step response of a DC motor shown below <<http://blogs.mathworks.com/images/seth/cody/dc-motor.png>> The param...

4 years ago

Solved

Model a falling body

An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...

4 years ago

Solved

Model a mass spring system

Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...

4 years ago

Solved

Produce a cosine wave

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

4 years ago

Solved

Connect blocks in a model

Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

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

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

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

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

4 years ago

Solved

Determine if input is odd

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

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

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

4 years ago