Question

Help with Simple OOP Program

I have a simple program to do the following.: Create a scatter plot of X and Y data. Highlight 3 points and fit a straight lin...

2 months ago | 1 answer | 0

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

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

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

2 years ago

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

2 years ago

Solved

Determine whether a vector is monotonically increasing

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

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

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

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

2 years ago

Question

Quantify Similarity Between Curve Shapes

Hi I have several plots of some data that I collect everyday. I need some method to quantify the similarity between their sha...

3 years ago | 0 answers | 0

Question

Plotting points simultaneously with input from figure using ginput

I have six figures on which I need to plot points on the curve. I don't know how many points I need on each figure. This is my...

3 years ago | 1 answer | 0

Question

Help using textscan on .csv files

Hello, I'm writing a script to process a number of CSV files generated each day and make a mat file from them. I use readtab...

3 years ago | 1 answer | 0