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

meer dan 11 jaar ago | 2 answers | 0

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

meer dan 11 jaar ago | 1 answer | 0

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

meer dan 11 jaar ago | 1 answer | 0

Question

MATLAB Debugging Error Message

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

meer dan 11 jaar ago | 1 answer | 0

Question

Separating elements in Length vectors

Suppose I have the following data set: Length = 1.02219692622952 8.29383522727246 17.3975329545455 26.5394026...

meer dan 11 jaar ago | 4 answers | 0

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

meer dan 11 jaar ago | 1 answer | 0

Question

Plotting points reshaping vector

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

meer dan 11 jaar ago | 1 answer | 0

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

meer dan 11 jaar ago | 1 answer | 0

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

meer dan 11 jaar ago | 1 answer | 0

Question

uicontrol Handles Error using set

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

meer dan 11 jaar ago | 1 answer | 0

Answered

Read in CSV files using GUI

But if I create a function: function openfile_Callback(hObject, eventdata, handles) [filename,pathname,filterIndex] = ... ...

Read in CSV files using GUI

But if I create a function: function openfile_Callback(hObject, eventdata, handles) [filename,pathname,filterIndex] = ... ...

meer dan 11 jaar 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 ...

meer dan 11 jaar ago | 2 answers | 0

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

bijna 12 jaar ago | 1 answer | 0

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

bijna 12 jaar ago | 2 answers | 0

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

bijna 12 jaar ago | 3 answers | 1

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

bijna 12 jaar ago | 1 answer | 0

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

bijna 12 jaar ago | 1 answer | 0

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

bijna 12 jaar ago | 1 answer | 0

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

bijna 12 jaar ago | 1 answer | 0

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

bijna 12 jaar ago | 2 answers | 0

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

bijna 12 jaar ago | 2 answers | 0

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

bijna 12 jaar ago | 1 answer | 0

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

bijna 12 jaar ago | 1 answer | 0

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

bijna 12 jaar ago | 2 answers | 0