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

plus de 11 ans il y a | 2 réponses | 0

2

réponses

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

plus de 11 ans il y a | 1 réponse | 0

1

réponse

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

plus de 11 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 11 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 12 ans il y a | 4 réponses | 0

4

réponses

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

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 12 ans il y a | 1 réponse | 0

1

réponse

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

presque 12 ans il y a | 1 réponse | 0

1

réponse

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

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 12 ans il y a | 1 réponse | 0

1

réponse

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

presque 12 ans il y a | 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 ...

presque 12 ans il y a | 2 réponses | 0

2

réponses

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

environ 12 ans il y a | 1 réponse | 0

1

réponse

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

environ 12 ans il y a | 2 réponses | 0

2

réponses

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

environ 12 ans il y a | 3 réponses | 1

3

réponses

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

environ 12 ans il y a | 1 réponse | 0

1

réponse

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

environ 12 ans il y a | 1 réponse | 0

1

réponse

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

environ 12 ans il y a | 1 réponse | 0

1

réponse

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

environ 12 ans il y a | 1 réponse | 0

1

réponse

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

environ 12 ans il y a | 2 réponses | 0

2

réponses

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

environ 12 ans il y a | 2 réponses | 0

2

réponses

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

environ 12 ans il y a | 1 réponse | 0

1

réponse

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

environ 12 ans il y a | 1 réponse | 0

1

réponse

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

environ 12 ans il y a | 2 réponses | 0

2

réponses