Question

Indexing Multiple Vectors in MATLAB
time = [ 1 2 3 4 5 6 7 8 9 10] xvalues = [ 1 1.2 1.5 1.6 2 2.5 2.7 4.5 5.6 5.7 .... 9.9 10] etc When one generates multip...

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

### 2

answers

Question

Array Mode Max Find
I need to consider the case in which the maximum is a mode. With A = [1 1 1 1 6 7 7 1 1 3 5 6 7 7 1 1 3 5 6 7 7 1 1 3 ...

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

### 1

answer

Question

Scalling MATLAB Distance Velocity
Suppose I have the following two time vectors vectors t2 = 4 4 4 5 5 5 6 6 6 7 7 7 and t1 = 1 2 3 4 5 6 7 8 9 I kno...

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

### 1

answer

Question

MATLAB Debugging Error Message
test_idx = 1 1 7 13 19 25 31 37 43 49 55 for k1 = 1:length(...

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

### 1

answer

Question

Separating elements in Length vectors
Suppose I have the following data set: Length = 1.02219692622952 8.29383522727246 17.3975329545455 26.5394026...

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

### 4

answers

Question

Prompting Error for user input
Suppose I have a input box that requires an entry greater than zero before attempting to load a file. function test_Call...

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

### 1

answer

Question

Plotting points reshaping vector
I have the following data: Time: 1.0e+003 * 3.342911997609290 3.741319350087413 3.745865099431818 3.7511...

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

### 1

answer

Question

Isolate Elements in a Vector
Suppose I have two sets of data: ab = 0.3570 0.3560 0.3750 0.5150 0.3570 0.3560 0.3750 ...

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

### 1

answer

Question

Selelcting Points in a plot embedded in a GUI
Typically when you produce a plot, it creates a separate window with the toolbar menu. If one selects tools -> Data cursor, it a...

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

### 1

answer

Question

uicontrol Handles Error using set
maxDrag = num2str(round(max(data_to_plot)), '%7.5g'); set(handles.maxDrag, 'String', ['Max Drag: ', maxDrag, ' lbs']) ...

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

### 1

answer

Answered
Read in CSV files using GUI
But if I create a function: function openfile_Callback(hObject, eventdata, handles) [filename,pathname,filterIndex] = ... ...

mer än 11 år ago | 0

Question

Read in CSV files using GUI
If I want MATLAB to read in the following file using the GUIDE feature in MATLAB: Source File: ID: C ...

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

### 2

answers

Question

PLOTYY Label Vertical Axis
figure (7) plotyy(x1-11100,y1,x2,y2, 'stairs', 'plot') Is 'stairs' 'plot' really necessary? What do these represent in p...

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

### 1

answer

Question

Using Multiple X- and Y-Axes Command Axis Label
figure (9) ax1 = gca; hl1 = line(x1,y1,'Color','r'); set(ax1,'XColor','r','YColor','r') ax2 = axes('Position',get(ax1,'P...

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

### 2

answers

Question

PLotting noisy signal matlab
Suppose the sampling interval is pi/100. t = 0:pi/100:40; x = cos(pi/10*t)+0.5*randn(size(t)); plot(t,x)Then you know wh...

nästan 12 år ago | 3 answers | 1

### 3

answers

Question

PLotting matlab noisy signal
Suppose we have some noise signal that's a function of time. Suppose at t = pi/2, 3pi/4, 5pi/4 I want to mark where exactly, ...

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

### 1

answer

Question

Time Format Data Conversion
Here is one set of time data in seconds that is imported 3401.82409375 3443.09343269231 3450.68662723214 3456.25735677083 3...

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

### 1

answer

Question

Neglect datapoints for a plot
Suppose I have this signal that ranges from 2000-7000 seconds and I want to neglect everything after 7000 seconds because it rem...

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

### 1

answer

Question

Selection Portions of a Plot
Suppose I have this function with multiple peaks that ranges from time = 2000 s to time = 7000 s. Suppose there are five peak...

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

### 1

answer

Question

Two functions superimposed on each other.
Suppose I have two functions, say y = sin(t) and y = sin( t + pi/4) and I want to make them start at the same point. How can thi...

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

### 2

answers

Question

Time format conversion command
This post is related to this thread: http://www.mathworks.com/matlabcentral/answers/51019-synchronize-time-from-a-database-an...

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

### 2

answers

Question

Ignore elements in an array.
Hi. I am to plot Value vs. Time using the following data from a databasefile which I haven't included. But the output looks like...

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

### 1

answer

Question

How to import a particular text file and plot.
Here is the data that I wish to import: Scan(+/- seconds),Sensor1Value,Sensor2Value,Sensor3Value,Sensor4Value -1, 2, 8, 3,...

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

### 1

answer

Question

How do you load a .csv file, skip lines within it, and plot the values?
Hi. I seem to have problems loading a .csv file (see attached): Blah @Blah 2Blah Blah f Blah fa Blah Blahasd ...

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

answers