Community Profile

##### Last seen: Today
32 total contributions since 2016

PhD candidate , Mechatronic researcher and college staff member.

View details...

Contributions in
View by

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

3 meses 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_...

3 meses ago | 2 answers | 0

### 2

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

4 meses ago | 0 answers | 0

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

más de 2 años ago | 1 answer | 0

### 1

Submitted

Naive Linear Trajectory with App Designer Interface
Naive Linear Trajectory with App Designer Interface

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

casi 3 años 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...

casi 3 años 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...

casi 3 años 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 ...

casi 3 años 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...

casi 3 años ago

Submitted

Reading ScopeTek Digital Fiber Spectrometer data
Reading ScopeTek Digital Fiber Spectrometer data

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

casi 4 años 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...

casi 4 años ago

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

casi 4 años ago | 0

Submitted

Step and Impulse Response without coding
Finding step and impulse response with no coding experience

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

alrededor de 4 años 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...

alrededor de 4 años 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...

alrededor de 4 años 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...

alrededor de 4 años ago

Solved

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

alrededor de 4 años 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...

alrededor de 4 años 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 ...

alrededor de 4 años 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...

alrededor de 4 años 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 ...

alrededor de 4 años ago

Solved

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

alrededor de 4 años 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...

alrededor de 4 años ago

Solved

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

alrededor de 4 años ago

Solved

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

alrededor de 4 años 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 ...

alrededor de 4 años 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:...

alrededor de 4 años ago