Community Profile # Peter Harrington

Last seen: Today Active since 2014

Professional Interests: Chemometrics, Machine Learning

#### Statistics

All
• • • • • #### Content Feed

View by

Submitted

PeteWare-for-MATLAB
MATLAB CODE THAT WE DEVELOPED TO MAKE GOOD SCIENCE EASIER

Question

Randomly assign a value to each column of a matrix
I can't figure out why this code doesn't work. I would like to have one true value in each row that is randomly assigned to a c...

3 years ago | 1 answer | 0

### 1

Associated Legendre polynomials are not orthogonal
Thanks for you reply Cyclist and Roger. I am a little bit confused with your replies. I am basing everything off this wikipedi...

7 years ago | 0

Question

Associated Legendre polynomials are not orthogonal
Hi: I am seeking an orthogonal set of polynomials, so I was excited to see the matlab had the legendre function to generate t...

7 years ago | 3 answers | 0

### 3

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

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

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

8 years ago