Question


Replace an element of a vector by also redefining the vector
Hi all, I would like to replace some elements of a vector Vec that have indices idx with NaN, to create a new vector VecNaN. ...

mer än 7 år ago | 2 answers | 0

2

answers

Question


Return Matrix to Original Order
Hi all, I have a column vector RPM_c, where I want to split it to elements below and above the vector's mean value, perform ...

mer än 7 år ago | 2 answers | 0

2

answers

Question


Displaying Graphic Object Handles
Hi all, I know this might be a simple question, but every time I come across this one, it seems to puzzle me. Say I have ...

mer än 7 år ago | 1 answer | 0

1

answer

Question


How to store two tables resulting from a for loop
Hi guys, I have a for loop with two iterations, and each iteration results into a table. I would like to know whether it ...

mer än 7 år ago | 4 answers | 0

4

answers

Question


Find the precision of a value
Hello, Is there a function in matlab that returns the precision of a number? for example, if I have a number 5.34 i want it t...

mer än 7 år ago | 3 answers | 0

3

answers

Question


Create legend within a for loop but with changing size of plot handles
Hi all, I have a plot within a for loop, plotting 22 line objects on the first run (i=1) and 28 line objects on the second ru...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Split vector in groups of data and plot best fit
Good evening, I have a group of data in the following format: Dat = [ NaN ; NaN ; 23 ; 34 ; 5 ; 12 ; 4 ; 123 ; NaN...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Find all numeric values right after the NaN values in a column vector
Good evening, I have a column vector such that vec = [1 ; 2 ; 3 ; 4 ; Nan ; 5 ; 6 ; 7 ; 8 ; Nan ; 9 ; 10 ; 11 ; 12 ; N...

mer än 7 år ago | 2 answers | 0

2

answers

Question


Addition amongst elements in a Cellarray
Hi all, I have a 1x6 cell array with each cell being a 2x3 matrix: C= [2 x 3] [2 x 3] [2 x 3] [2 x 3] [2 x 3] [2 x 3] ...

nästan 8 år ago | 1 answer | 0

1

answer

Question


Table function: control number of significant figures & delete quotation marks in the outputs
Hi all, I have a cell array named Data (as you can see below) and I would like to make its numbers appear using the specific ...

nästan 8 år ago | 1 answer | 0

1

answer

Question


Smoothing data, 'rlowess' behaviour.
Hi all, I was just wondering whether the 'rlowess' smoothing behaviour that I have plotted below makes sense (red and blue li...

nästan 8 år ago | 0 answers | 0

0

answers

Question


Determine set of data between multiple ranges from a matrix
Hi all, I would just like to ask the following. Is there a function such that it lets you find the elements in a long vector ...

nästan 8 år ago | 2 answers | 0

2

answers